Is Capacitor google maps compatible with JDK 20 ? #6994
Replies: 3 comments 3 replies
-
Android development requires java 17 at the moment. |
Beta Was this translation helpful? Give feedback.
-
I upgraded gradle to gradle 8.3, but I get the same error. So, I'll go back to jdk 17 and try to fix the crash encountered by the app after the splash screen. Please any solution or indication to help me fix it ? 🙏 |
Beta Was this translation helpful? Give feedback.
-
Hi Im experiencing the same problem. Funny enough I was able to run it externally on my phone. Then recently, I havent kept up with my updates, but I have the same error. Today, Gradle 8.3 can support Java 20. It runs fine in browser, but running it externally yields me the same error: ':capacitor-google-maps:compileDebugKotlin'
Anyone else experiencing this? Or have a solution? |
Beta Was this translation helpful? Give feedback.
-
I tried using it on android, but my app doesn't compile. I use JDK 20 and Gradle 8.0.2. All works perfectly in browser, but the app doesn't build for android, with the following message :
':capacitor-google-maps:compileDebugKotlin'.
> Failed to calculate the value of property 'jvmTarget'.
> Unknown Kotlin JVM target: 20
Please, need for help.
I'm looking for a solution since 02 days. I tried many solution proposals, but nothing worked for me yet
Beta Was this translation helpful? Give feedback.
All reactions