Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio Stuck at opening Project?

I recently updated from Android Studio 2.0 to 2.1.2 and now I have a project which doesn't open. Android Studio is stuck at the following screen for more than 10-15min. enter image description here

I tried solutions from these answers.[ans1] [ans2] but none of them work.

I can create new projects and also import projects built on eclipse. But cannot open my own project.

Please help.

like image 559
Leo Lion Avatar asked Jun 15 '16 01:06

Leo Lion


2 Answers

Delete the gradle folder in the project folder. It will work.

like image 158
Purvil Bambharolia Avatar answered Nov 07 '22 04:11

Purvil Bambharolia


For many problems such as stuck with opening or downloading something while starting I use this sequence as an ultimate guide and on one of the steps always works out. Recently I used it after updating to 3.2

  1. Try File -> Invalidate caches / Restart
  2. Shutdown Android Studio
  3. Remove .gradle folder in the user home directory
  4. Start Android Studio (Studio will download gradle data)
  5. After Gradle build is done, rebuild project
like image 1
quant Avatar answered Nov 07 '22 03:11

quant