Gradle sync failed: Unable to load class ''

when I try to load a lesson from jetpack compose tutorials, I get this error.

Gradle sync failed: Unable to load class ‘’.

Using Android Studio Bumblebee. Spent most two hours trying to fix this and none of the solutions online work. I’m not using safeargs (or rather you’re not) and there’s no firebase problem.

Hey @prenez01! You might have to upgrade your gradle version and remove ‘kotlin-android-extensions’ plugin from your gradle file. I played around with the source code and I got it to compile.

Here is a link to the changes I made. I hope it helps:

you could probably change your compose version to 1.1.0 since it is already out.