Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android studio gradle deleted

I accidentally deleted some gradle files from where i Android studio is installed. I was following this tutorial to resolve another issue but it now even deleted some gradle files i cant even create a new project in Android studio. And cant build run or do anything. When i start android studio it shows me this error in following image:

enter image description here

If i open plugin manager it shows android support, cloud disabled like in this image:

enter image description here

In settings build tools it not does show gradle:

enter image description here

And in module settings it shows this:

enter image description here

Please someone guide me in this. I cant reinstall android studio, sdk and everything again as I have done many settings(installed plugins and git configs etc) in studio, so reinstalling everything is not an option. Any help?

like image 816
Nouman Bhatti Avatar asked Mar 07 '26 21:03

Nouman Bhatti


1 Answers

One non-technical solution is to install another instance of Android Studio at different location on your system. You can then compare the directories of where where you deleted the files and copy over the files that are not there in your original installation.

like image 138
Karan Modi Avatar answered Mar 10 '26 12:03

Karan Modi