ionic-team / capacitor-google-maps

12 stars 16 forks source link

Build issues with Capacitor 6 #30

Closed mdorchain closed 1 month ago

mdorchain commented 1 month ago

Even after reading , I can't seem to build the android project.

I have the following dependencies on a new project created with the cli: "dependencies": { "@capacitor/android": "6.1.1", "@capacitor/app": "6.0.0", "@capacitor/core": "6.1.1", "@capacitor/google-maps": "^6.0.0-rc.0", "@capacitor/haptics": "6.0.0", "@capacitor/keyboard": "6.0.1", "@capacitor/status-bar": "6.0.0", "@ionic/vue": "^8.0.0", "@ionic/vue-router": "^8.0.0", "ionicons": "^7.0.0", "vue": "^3.3.0", "vue-router": "^4.2.0" },

I'm always getting the following error during the build.

`Could not determine the dependencies of task ':capacitor-google-maps:compileDebugKotlin'.

Unknown Kotlin JVM target: 21`

Despite hours of research and troubleshooting, I can't get it work. Am I missing anything?

Thanks

mdorchain commented 1 month ago

The issue was on my side: a conflict between several version of the JVM.

ionitron-bot[bot] commented 3 weeks ago

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.