简体   繁体   中英

Android Studio 3.0 stuck in refreshing project

After updating Android Studio 3.0 stable version from 2.3.3 my previous project is refreshing forever. I deleted app folder build file but it's not working.

I have faced similar issue. This what helped me to recover.

  • Close your Android Studio.
  • Remove the build, .gradle and .iml files (or use gradle clean )
  • Open your project path in command prompt. Execute gradlew build .
  • Once the build is success from cmd, open it in Studio.

If you are using gradle instead of gradle wrapper, use `gradle build'

"Refreshing project" generally means the new version of gradle is being downloaded. About 100MB of file will be downloaded during the process. Make sure you have a stable internet connection and wait for a while.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM