简体   繁体   中英

Android-Studio : Error: Could not create the Java Virtual Machine, i can't test my app

i have intalled android studio for a while, but today i get this issue that is : when i want to test my app that is worked well before i get this error message , and i tried a lot of things to resolve this problem but no result

在此处输入图片说明

i try reinstall jdk and install the lateset version but nothing happened i try add this things in system variable environment like _JAVA_HOME and Xmx512M also nothing happened and the probelm still there.

could you please help me guys ...

my system description : win 8.1 , cpu=i5 , Ram = 12 gb

I think you have set a large heap size for your virtual machine and are trying to run it on java 32 bits. If this is the case, try creating a virtual machine with a small heap size 1gb or even 0.5gb and it should work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM