Fixed
Status Update
Comments
ad...@google.com <ad...@google.com> #2
I think you'll need java8 support in the project; can you follow the steps documented here?
Specifically adding these lines:
android {
...
// Configure only for each module that uses Java 8
// language features (either in its source code or
// through dependencies).
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
// For Kotlin projects
kotlinOptions {
jvmTarget = "1.8"
}
}
hu...@gmail.com <hu...@gmail.com> #3
Thank you so much, I solved this problem as you said
Description
My project code uses Kotlin, and I add a reference in build.gradle as follows:
It can be edited normally, but when I open the App, it prompts:
I don't know how to solve this problem,Looking forward to your reply LinqingHuang