내 Android Studio에서 응용 프로그램을 실행할 때 다음 오류가 발생합니다.Windows 7 컴퓨터에서 Android Studio 응용 프로그램을 실행할 수 없습니다.
Error:Error: Could not create the Java Virtual Machine.
Error:Error: A fatal exception has occurred. Program will exit.
Error:Error: Could not create the Java Virtual Machine.
Error:Error: A fatal exception has occurred. Program will exit.
Error:Invalid maximum heap size: -Xmx4g
Error:The specified size exceeds the maximum representable size.
Error:Invalid maximum heap size: -Xmx4g
Error:The specified size exceeds the maximum representable size.
:dmart-android:transformClassesWithDexForDev FAILED
Error:Execution failed for task ':dmart-android:transformClassesWithDexForDev'.
> com.android.build.api.transform.TransformException: java.lang.RuntimeException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_101\bin\java.exe'' finished with non-zero exit value 1
나는 32 비트 윈도우 7 머신을 가지고 있으며 실행할 수 없습니다. 오류를 해결하는 방법을 알려주세요.
가능한 해결책 http://stackoverflow.com/questions/31964072/error-java-heap-size-in-android-studio-1-3-1 – Tasos