I’ve recently started working with android studio and encountered these errors:
-
Could not install Gradle distribution from ‘https://services.gradle.org/distributions/gradle-6.7.1-bin.zip’
-
Missing essential plugin: org.jetbrains.android
I have tried different things to resolve these errors, like reinstalling Android studio from scratch. Any way to tackle these errors?
2
Answers
Installing Android Studio is a messy thing in windows. Multiple modules are installed in multiple folders in cdrive.
So, removing android studio completely is a messy thing.
For the 1st error, you can download the respective gradle zip file and save it in .gradle folder inside C:/Users/username/. But this will not work with newer android versions.
For the 2nd error, you should delete a file named 'disabled_plugins.txt' which will be found inside C:/Users/username/AppData/Roaming/Google/AndroidStudioxyz.v The same file is also found in Local/Google/AndroidStudioxyz.v also. So, deleting these files will solve this error.
But, a better way to resolve both the errors is to remove and reinstall Android studio from scratch. To remove android studio, make sure to remove any folder having the name Android in the following folders:
Now install your android studio again.
Thank you!
Delete the following file and retry
For MacOS users, the file is located in