如何解决Android的工作室陷入执行任务的摇篮? [英] How to fix Android Studio getting stuck executing Gradle tasks?
问题描述
Android的工作室(测试版)0.8.6卡住,当我尝试建立/运行项目,以及清洁它。它保持敏感,但在摇篮:执行任务的消息不消失(超过20分钟的时间是,当我放弃)和应用程序从未运行
这是我尝试:
-
无效缓存/重启
-
强制退出并重新启动
-
从应用程序在Mac上删除,并从官网重新下载。
转到 Android的工作室
固定它 - > preferences
- > 摇篮
- >和滴答离线工作
。仍然不知道什么是错误的,但至少现在它编译。</ P>
Android Studio (Beta) 0.8.6 gets stuck when I try to build/run the project, as well as clean it. It stays responsive, but the Gradle: Executing Tasks message doesn't disappear (longer than 20 minutes is when I give up) and the app never runs.
This is what I attempted:
Invalidate caches/restart
Force quit and restart
Remove it from Applications (on Mac) and re-download it from the official website.
Fixed it by going to Android Studio
-> Preferences
-> Gradle
-> and ticking Offline work
. Still have no idea what was wrong, but at least now it compiles.
这篇关于如何解决Android的工作室陷入执行任务的摇篮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!