Closed Subhimarabe closed 6 months ago
Based on the error it looks ike you're using JDK 8, but JDK 11 is required.
Please check if your environment is configured to use JDK 11.
javac -verison
print JDK 11 or 8?CORDOVA_JAVA_HOME
set and configured to a JDK 8 path instead of 11?@breautek it was CORDOVA_JAVA_HOME pointing to java 8, thanks a lot bro
Problem
Build fails with Could not resolve com.android.tools.build:gradle:7.4.2 after updating android platform to version 12.0.0
1636 duplicate issue, I followed all solutions mentioned in this ticket but the issue exists, please help
What is expected to happen?
Build succeeded
What does actually happen?
build failed
Information
Command or Code
ionic cordova build --release --prod android --verbose
Environment, Platform, Device
Environment: Mac OS 13.3.1 Platform: cordova-android Device: none
Version information
Checklist
I followed all solutions mentioned in this ticket but the issue exists, please help