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

前端 未结 8 1726
耶瑟儿~
耶瑟儿~ 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 12:54

    I found a solution to this problem on an old vs-android issue.

    You should create a new environment variable named _JAVA_OPTIONS, set it to
    -Xms256m -Xmx1024m and it should work.

提交回复
热议问题