Android studio stuck at Refreshing Gradle project

前端 未结 17 1910
别那么骄傲
别那么骄傲 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:33

    if gradle has downloaded correctly and you just have problem with this project, follow these steps:

    1. Delete .gradle folder from your project's root.
    2. File > Invalidate Caches/restart.

    Note: if android studio didn't restarted, kill it's process in Task Manager.

    Some other solutions:

    • Adding android studio to Firewall and Antivirus exceptions (or turn off both temporary)
    • Adding mavenCentral() to project build.gradle after jcenter() line.

提交回复
热议问题