Hi! I'm trying to get rid of `appCompat` and `mat...
# compose
a
Hi! I'm trying to get rid of
appCompat
and `material`dependencies, usinig just a
ComponentActivity
from
androidx.activity:Activity:1.3.0
, but i receive a crash:
Copy code
Process: com.alorma.composedrawer, PID: 13088
    java.lang.AbstractMethodError: abstract method "void androidx.lifecycle.DefaultLifecycleObserver.onCreate(androidx.lifecycle.LifecycleOwner)
my deps:
Copy code
dependencies {     implementation("androidx.activity:activity-compose:1.3.0")

    implementation("androidx.compose.foundation:foundation:1.0.0")
    implementation("androidx.compose.foundation:foundation-layout:1.0.0")
    implementation("androidx.compose.ui:ui:1.0.0")
    implementation("androidx.compose.material:material:1.0.0")
    implementation("androidx.compose.ui:ui-tooling:1.0.0")
}
a
a
so, only workaround is to use agp
7.1.0-alpha06
?
a
You can either set minSdkVersion to 24+ (for debug builds) or use agp 7.0.0.
a
ooooh damn, i was not set the RC of AGP on the project
thanks
a
has it worked so far?
by the way are you using bumblebee or artic fox
a
it worked using AGP 7.0.0
AC
a
ok