Activity_main.xml没有显示,并且Gradle无法完成初始构建 [英] Activity_main.xml not showing and Gradle doesn't finish initial build
问题描述
您好,我是android Studio的新手,我正尝试从youtube上的教程中学习,但我似乎无法做到这一点,因为activity_main.xml没有打开并停留在等待构建完成的过程中...我一直在等待现在像一个小时了,我不确定该怎么办,我也尝试重新安装它,但是什么也没发生并停留在这里:
Hi im kinda new to android studio and im trying to learn from tutorials on youtube but i cant seem to do it because the activity_main.xml is not opening up and stuck at waiting for build to finish... ive been waiting for like an hour now and not certain what to do i also tried reinstalling it but nothing happened and stuck at this:
推荐答案
设计"视图需要完成Gradle构建.
The Design view need to finish the Gradle build.
您可以使用此解决方案-
You can use this solution-
将此行添加到 gradle.propertise
org.gradle.daemon=true
org.gradle.parallel=true
然后再次构建.
这是Gradle属性
This is Gradle properties
修改
查看这张照片.你的gradle设置看起来像吗
Check out this photo. Does your gradle setting look like that-
这篇关于Activity_main.xml没有显示,并且Gradle无法完成初始构建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!