You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to run the demo project following the documentation: I simply cloned the project and opened it in the root directory inside Android Studio, and I received the error "Unknown Kotlin JVM target: 21".
After trying to make some Gradle JDK changes — for example, changing from 21 to 17 and others — I found a solution:
I returned the Gradle JDK version to 21 (jbr-21 = 21.0.4)
I added the following code to build.gradle of the demo project:
I tried to run the
demo
project following the documentation: I simply cloned the project and opened it in the root directory inside Android Studio, and I received the error "Unknown Kotlin JVM target: 21".After trying to make some Gradle JDK changes — for example, changing from 21 to 17 and others — I found a solution:
jbr-21 = 21.0.4
)build.gradle
of thedemo
project:It looks like this:
After this and sync project, I was able to run the demo project normally.
Was this some lack of knowledge on my side, or an incompatibility due to an Android Studio update (build on December 17, 2024)?
The text was updated successfully, but these errors were encountered: