-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Min SDK version #19
Comments
You're right. I can't remember why I did that. I've just checked, and MapView compiles just fine against API level 23. [Edit] |
It looks like it finally took it. |
Thanks for your help! |
I think I found why you changed the min sdk version. I can run my app normally, but if I try to create a release build for uploading to the play store it fails with the following error message: |
The reason is because we use
However, this is only supported for Java code through the use of Java 8 features. I've just tested that on an Android app with min sdk 23 - it compiles successfully for a release build. All you have to do is add in the 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"
}
} Let me know if that solves your issue. |
Thanks! This did solve the issue 😃 |
Hi, when I tried upgrading to the latest release version of MapView, I noticed that you have increased to minimum sdk version from 23 to 24. I'm currently supporting version 23 with my apps and I was wondering what the reason for the increase was?
The text was updated successfully, but these errors were encountered: