Android studio stuck at Refreshing Gradle project

前端 未结 17 1890
别那么骄傲
别那么骄傲 2021-01-31 15:01

Updated Android studio to 1.2.2 and the background process wont end.(Refreshing \'MemoryCards\' Gradle project).

It has been more than an hour now and its still busy?

相关标签:
17条回答
  • 2021-01-31 15:38

    If you are loading existing project into new Android studio then it's gradle library version that you have specified in your top level build.gradle file. Check version and move to latest or compatible version for android studio.

    0 讨论(0)
  • 2021-01-31 15:39

    In your terminal try :

    gradlew clean
    

    Then invalidate caches and its works... It will redownload all libraries from internet and build successfully You can also delete build,.gradle,gradle folders to force re-cleaning

    0 讨论(0)
  • 2021-01-31 15:41

    In my case it was a wrong path in the file->settings->tools->gardle .. just remove the path then apply.

    Then restart android studio (you may need to end task)

    0 讨论(0)
  • 2021-01-31 15:44

    Turning off my VPN solved this for me.

    0 讨论(0)
  • 2021-01-31 15:52

    You can reverse to Android Studio 1.4, then the project works.....

    And when I update it to 1.5, the project start stucking with refreshing >_<

    Might not help, but worth a try~

    0 讨论(0)
提交回复
热议问题