1
私はアプリケーションを実行するためにAndroidスタジオ2.1.2とエミュレータを使用しています。 エラー:Gradle実行を完了できませんでした。Androidスタジオはエミュレータでアプリケーションを実行できませんでした
Cause:
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon at https://docs.gradle.org/2.10/userguide/gradle_daemon.html
Please read the following process output to find out more:
-----------------------
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Invalid maximum heap size: -XX:MaxHeapSize=4096m
The specified size exceeds the maximum representable size.
エミュレータメモリとストレージの設定:
org.gradle.jvmargs=-XX\:MaxHeapSize\=4096m -Xmx4096m
私のシステム構成:
I have 8GB RAM in my system.
私の問題
RAM : 1GB
VM Heap : 64MB
Gradle.propertiesファイルでは、次の行を追加しますablできませんでした私のアプリケーションをビルド/エミュレータを使用して実行し、上記のエラーを取得する。これを解決するのを手伝ってください。