I install the new version of Android Studio but when i want to build my project and sync with gradle this error show. What should i do to fix this error?
gradle setting:(gradle-wrapper.properties)
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip
error:
org.gradle.process.internal.JvmOptions.<init>(Lorg/gradle/api/internal/file/FileCollectionFactory;)Vorg.gradle.process.internal.JvmOptions.<init>(Lorg/gradle/api/internal/file/FileCollectionFactory;)V
Either You have not set the kotlin version correctly in project level build.gradle
And also change the gradle-6.5-bin.zip to gradle-6.7-all.zip This might work
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With