activity_main.xml for android studio stuck on loading

雨燕双飞 提交于 2020-08-10 05:50:07

问题


I just downloaded Android Studio to make an app for my STEM competition. I tried making an app, opened the activity_main.xml file, but it is stuck on loading! It says, `

"Gradle: download gradle-5.6.4-all.zip...".


回答1:


Firstly you need to try that option
Go to Build-> Clean Project

After clean your project complete
Go to Build-> Rebuild Project

IF that thing does not solve the problem then
Please
Go to File->Invalidate Cache/Restart-> Invalidate and restart Actually

Android Studio makes a lot of files as caches and does not delete them. This can cause trouble when there is a need to make new files, so clearing caches will clear the old cache and make Android Studio faster and Smooth. Hope that will hep you




回答2:


In Android Studio try to go to File -> Invalidate Caches/Restart -> Invalidate and restart.




回答3:


In Android Studio try to go to File -> Invalidate Caches/Restart -> Invalidate and restart. this will help u surely



来源:https://stackoverflow.com/questions/60443741/activity-main-xml-for-android-studio-stuck-on-loading

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