简体   繁体   English

Android Studio无法完成建设项目-未显示错误

[英]Android Studio Won't Finish Building Project - No Errors shown

I press run app (Green Arrow) on the project window: 我在项目窗口上按运行应用程序(绿色箭头):

Displays "Gradle Build Running" in the lower part of the screen. 在屏幕下部显示“ Gradle Build Running” It is briefly followed by "scanning files for index." 紧随其后的是“扫描文件以查找索引”。 Then it suddenly stops and is left where it started. 然后它突然停止并留在它开始的地方。 No errors or indicators are listed at all. 根本没有列出任何错误或指示。

*This problem occurs with both the emulator and my phone (which have both worked in the past and work with other projects). *这个问题在模拟器和我的手机(过去都曾使用过,并与其他项目一起使用)中均发生。

Try Building rebuild icon (green hammer near the play button). 尝试构建重建图标(播放按钮附近的绿色锤子)。 If it won't show an error, try pressing the logcat Button at the bottom of the page that must show the error. 如果不会显示错误,请尝试按页面底部必须显示错误的logcat按钮。

PS you can also try the debug mode. PS也可以尝试调试模式。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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