Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it safe to delete all the content from .gradle and .idea?

Tags:

I am facing an issue that I can see a suggestion someone made on a blog that supposedly helped them solve the same issue. The suggestion was to delete all content on .Gradle and .idea folder, followed by gradle re-sync and rebuild all.

I am fairly a beginner and I've never done anything like that, so I am scared of any destructive actions I don't know the results of. Is there anything to be afraid of by this action, or would these files just be regenerated again?

If all good, how is it done properly? Via the explorer? Or via Android Studio?

Thanks!

like image 436
Tsabary Avatar asked Jul 06 '19 23:07

Tsabary


1 Answers

.gradle/ and .idea/ are safe to delete, though I would have the IDE not be open on that project while you do it. If that is your only project, close Android Studio, then delete those directories using your OS file explorer or the command line. Then, reopen Android Studio, and it will recreate and re-populate those directories.

like image 82
CommonsWare Avatar answered Nov 15 '22 06:11

CommonsWare