Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio 3.3 Stuck at Project Setup:reading from cache

I have create module library with NDK. After updating Android Studio 3.3, open project on studio stuck on build project

Project Setup:reading from cache...

Every time needs to "Invalidate and Restart" android studio then after studio working.

I have try to delete .gradle folder but still facing this issue.

How can I solved this misbehavior of studio 3.3?

like image 883
Jigar Shekh Avatar asked Feb 08 '19 05:02

Jigar Shekh


1 Answers

I don't have enough reputation to comment so I'll post this as an answer.

  • After you Invalidate and Restart have you tried Build->Clean Project and rebuilding then syncing again?

  • Have you tried restarting your computer to turn of any processes that may keep caches from clearing?

  • Have you tried upgrading your gradle version as well (inside your gradle-wrapper.properties)?

  • Have you checked if your gradle path is correct at File -> Settings -> Build, Execution, Deployment -> Gradle?

  • Have you tried locating your gradlew and doing a gradlew cleanBuildCache?

  • Have you tried removing the C:\Users\{Your Username}\.gradle\caches folder?

  • Have you tried disabling cache building altogether (will slow down your build and is not recommended)? To do this you have to go to your gradle.properties file and set android.enableBuildCache=false

like image 156
sansa Avatar answered Oct 04 '22 17:10

sansa