Android Studio等待构建完成 [英] Android Studio waiting for build to finish
问题描述
我有问题.当我在Android Studio中启动新项目并选择导航抽屉活动时,它就会发生.我无权访问设计"上的activiy_main_drawer.xml
,并且一直说等待构建完成".我真的不知道该怎么办.我尝试卸载并重新安装Android Studio,但没有帮助.
I have a problem. When I start a new project in Android Studio and select a navigation drawer activity it happens. I don't have access to my activiy_main_drawer.xml
on "Design" and it keeps saying "Waiting for build to finish.". I really don't know what I have to do. I tried to uninstall and reinstall Android Studio, and it didn't help.
推荐答案
我刚刚遇到了完全相同的问题.我只是选择Sync Project with Gradle Files
来解决它.这将触发Gradle重新导入和构建.
I've just run into the exact same problem. I simply solved it by choosing Sync Project with Gradle Files
. This will trigger a Gradle re-import and a build.
从Android Studio v3.2开始,该图标位于右上方工具栏附近.您也可以使用Find Action
快捷键 Ctrl Shift A 找到它.
As of Android Studio v3.2, the icon is located near the top right tool bar. You can also find it using Find Action
shortcut CtrlShiftA.
这篇关于Android Studio等待构建完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!