Android-Studio : Error: Could not create the Java Virtual Machine

前端 未结 8 1731
耶瑟儿~
耶瑟儿~ 2020-12-01 12:41

I have just installed Android - studio today. First I have to install jdk7 for this IDE.

After that only I was able to launch IDE.

Now When I am trying to cr

8条回答
  •  借酒劲吻你
    2020-12-01 13:03

    1.In the Studio, navigate to File-> Settings->Compiler

       In the VM Options text box, paste this line
       -Xmx512m -XX:MaxPermSize=512m
    
    1. Delete the existing AVD.

    2. Then File->Invalidate Caches/Restart .

    3. After restarting the studio, create a new AVD. Should work fine !

提交回复
热议问题