Hello, Team, hope you are doing well.
I upgraded revenueCat module to latest one in my ionic/angular project.
this is the module in package.json
"@revenuecat/purchases-capacitor": "^7.3.1"
it’s working on xCode without issue.
but I can’t build android build on Android Studio.
Execution failed for task ':revenuecat-purchases-capacitor:compileDebugKotlin'.
> 'compileDebugJavaWithJavac' task (current target is 17) and 'compileDebugKotlin' task (current target is 19) jvm target compatibility should be set to the same Java version.
Consider using JVM toolchain: https://kotl.in/gradle/jvm/toolchain* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
This is the error log when building.
if I use old package, the android build will work without error.
"@awesome-cordova-plugins/purchases": "^6.4.0"
"cordova-plugin-purchases": "^5.5.1"
Can anyone help me to resolve this issue?