2

I updated android studio to 2.3 and it stuck at building project then I removed it and downloaded a new one. Then while trying to import a project, it is now stuck at this. Please provide me some possible solutions to this problem. enter image description here

theanilpaudel
  • 2,840
  • 8
  • 28
  • 55

3 Answers3

0

Lots of 2.3 problems this week.

Try this:

• Close Android Studio

• Go to the directory home_dir/.AndroidStudio/system/cache

• Remove all the files in the cache directory.

• Then restart IntelliJ / Android Studio

I'd suggest making a backup of anything before removing. Also remember to export settings before deleting cache.

BR89
  • 686
  • 1
  • 5
  • 22
  • do you know the location of this folder be on a mac – theanilpaudel Mar 05 '17 at 13:03
  • @theanilpaudel (make sure that Finder shows hidden files and folders), then try searching in **_HddName_ > Users > _YourUserName_** and also in the subfolder of **_YourUserName_ > Library > Android** – Yoav Feuerstein Mar 12 '17 at 13:14
0

I had the same problem. Clearing cache did not solve it.

First, install the latest updates for build tools and emulator.

Then wait for few minutes while building the project as it might have been downloading some files in the background.

After a few minutes, everything will be fine.

Akshar Patel
  • 7,525
  • 5
  • 31
  • 44
0

Make sure the Gradle wrapper have been downloaded especially behind a proxy.

~/.gradle/wrapper/dist/*

Alsor Zhou
  • 33
  • 1
  • 4