Hey guys.
I'm having a compiler error since updated my app to:
• Android Studio Arctic Fox 2020.3.1 Canary 2
• Android Gradle Plugin 7.0.0-alpha02
• Kotlin to 1.4.20
• Compose version to 1.0.0-alpha08.
The simplest compose method does not compile, i.e.:
Copy code
@Composable
fun foo() {
val context = AmbientContext.current
}
gives the following error:
m
Mayank Saini
12/10/2020, 6:32 AM
I am getting the same error
s
salomonbrys
12/10/2020, 9:22 AM
On my case, I had to remove
buildSrc
. I have no idea why but it looks like the compose Gradle plugin was broken by having a simple