-
Notifications
You must be signed in to change notification settings - Fork 12
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
Warning about JVM version During Android build phase #28
Comments
Hey there! This actually should be the case right now. Are you sure, that your configuration is correct?
|
Thanks for the quick reply, I narrowed down this warning a bit more. This warning is only seen in the first build/compile after cleaning a project. Since I saw the warning is related to a kotlin task, I experimented with this code & received no further warnings. compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
+ kotlinOptions {
+ jvmTarget = JavaVersion.VERSION_11
+ } |
Aaah okay nice. Thanks for specifying this! |
I just released a version for |
Hi have a good day,
I'm getting this warning when building for Android:
I understand the JVM version between Kotlin & Java doesn't match.
with Capacitor4, JVM version should be 11 (ref:Capacitor4 Update DOC)
The text was updated successfully, but these errors were encountered: