Waiting for build to finish in android studio 3.5

跟風遠走 提交于 2020-04-18 04:42:09

问题


I have been working on a project since a long time in android studio and it does not show any problems but since i have updated my windows the app preview is constantly showing "waiting for build to finsh". I dont understand why, i have tried some approaches i have searched in google and stackoverflow but nothing helped me so far! I tried -sync project with gradle files -invalidate cache and restart -rebuilding several times

Any reply will be appreciated. Thankyou!


回答1:


Follow this steps:

First solution

  1. Close your project
  2. Enter on your project folder in Explorer
  3. Delete .gradle folder
  4. Delete .idea folder
  5. Launch Android Studio and open your project again
  6. Rebuild project.

Second Solution

Enter on File > Settings > Editor > Code Style > XML on the right corner appear Set from... > Predefined Style > Android

Then restart your Android Studio and should works

Third Solution

Enter on File > Settings > Experimental. On Editor section, put Fastest option in Layout Editor quality setting

Restart your Android Studio.



来源:https://stackoverflow.com/questions/59092045/waiting-for-build-to-finish-in-android-studio-3-5

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!