Android Studio: failed to complete gradle execution, cause is empty

后端 未结 19 2204
佛祖请我去吃肉
佛祖请我去吃肉 2020-11-27 18:22

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 a

19条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-27 18:43

    On newer version of AS 2.0 File->Setting->Build, Deployment &Execution-Compilers->Android Compilers->Gradle->Gradle Vm Option

    put this as an option -Xmx256m

提交回复
热议问题