-
Notifications
You must be signed in to change notification settings - Fork 609
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
bug(google-maps): jvm target compatibility should be set to the same Java version #1882
Comments
This issue needs more information before it can be addressed. Please see the Contributing Guide for how to create a Sample App. Thanks! |
I've set the link to the demo app in the main comment. |
I can't reproduce with the provided app. |
You're right. The Java version was 19 instead of 17. Thanks @jcesarmobile |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of the plugin, please create a new issue and ensure the template is fully filled out. |
Bug Report
Plugin(s)
Capacitor Version
Platform(s)
Current Behavior
After upgrading the capacitor version from 4 to 5, I've got the following error message when I run the ionic cap run android command:
This is not happening when I build the app from Android Studio.
Expected Behavior
Should be able to run the ionic cap run android command without the error.
Code Reproduction
Just install the capacitor 5 and @capacitor/[email protected] and run the ionic cap run android command
https://github.com/wk-mihai/capacitor-google-maps-test
Other Technical Details
N/A
Additional Context
This is happening for the latest capacitor version as well (@5.5.1) and latest @capacitor/google-maps version (@5.3.3)
As a temporary fix, I had to change the JavaVersion.VERSION_17 to JavaVersion.VERSION_19 in @capacitor/google-maps/android/build.gradle file
The text was updated successfully, but these errors were encountered: