Hello everyone once I update my android studio to Arctic fox while publishing the artifact(command - ./gradlew assembleRelease artifactoryPublish) I am getting this error. I have written below gradle details please help me out for the same
JDK version: 11
gradle.properties or gradle version
https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
Build tool version
classpath 'com.android.tools.build:gradle:7.0.3'
Kotlin Version
1.5.31
Build, Execution, Deployment -> Build Tools -> Gradle -> Gradle JDK
) can differ from the command line env JDK. Typejavac -version
to confirm. Also try running the gradle task directly from the gradle tasks list in the IDE - the will use the Project JDK if you are not successful setting the command line JDK. – Backandforth