Arkadii Ivanov02/10/2021, 9:58 PM
is now deprecated, so I added
to the dependencies and updated the import. The build fails with the following error. Is there a fix for this?
Task :sample:counter:app-android:compileDebugKotlin FAILED w: Flag is not supported by this version of the compiler: -Xallow-jvm-ir-dependencies w: ATTENTION! This build uses unsafe internal compiler arguments: -XXLanguage:+NonParenthesizedAnnotationsOnFunctionalTypes This mode is not recommended for production use, as no stability/compatibility guarantees are given on compiler or generated code. Use it at your own risk! e: Classes compiled by an unstable version of the Kotlin compiler were found in dependencies. Remove them from the classpath or use '-Xallow-unstable-dependencies' to suppress errors e: /home/aivanov/dev/workspace/Decompose/sample/counter/app-android/src/main/java/com/arkivanov/counter/app/MainActivity.kt: (39, 9): Class 'androidx.activity.compose.ComponentActivityKt' is compiled by an unstable version of the Kotlin compiler and cannot be loaded by this compiler
BenjO02/11/2021, 10:57 AM
Arkadii Ivanov02/11/2021, 11:01 AM
BenjO02/11/2021, 11:03 AM