Android的工作室:未能完成摇篮执行,原因是空的 [英] Android Studio: failed to complete gradle execution, cause is empty
问题描述
当我试图运行的Android模拟器,我得到以下错误屏幕。当我出口的apk文件同样会发生。当我去那里的apk将被保存的目录,apk文件不存在。
When I try to run an Android emulator, I get the following error screen. The same occurs when I export the apk. When I go to the directory where the apk will be saved, the apk file is not there.
感谢您,
克里斯托夫
Thank you,
christophe
推荐答案
我有同样的问题,这个问题将通过执行下面的步骤。
I had the same issue, this problem will be fixed by doing the below step.
到
文件 - >设置 - > Gradle->摇篮VM选项
File->Setting->Gradle->Gradle Vm Option
有关Android的工作室1.2
For Android Studio 1.2
文件 - >设置 - >构建,部署和放大器; Execution->构建工具 - > Gradle->摇篮VM选项
File->Setting->Build, Deployment &Execution->Build Tools->Gradle->Gradle Vm Option
,现在把在框中该值 -Xmx256m
,并点击应用按钮。
, Now put this value -Xmx256m
in the box, and hit the Apply button.
这篇关于Android的工作室:未能完成摇篮执行,原因是空的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!