JNI_CreateJavaVM failed 4294967290
Hi,
I recently installed android studio on a Mactop pro running OSX 10.11. with standard Apple JRE.
I had some problems with the slowness of the IDE and the fact that the emulator was hanging. After doing some research I was advised to set VM options as follows -Xmx2048m -XX:MaxPermSize=512 using Android -> Preferences -> Build, Execution, Deployment -> Compiler. This seemed to work ok until I restarted android studio.
Every attempt to start android studio now results in the above error.
I saw a post on this forum https://intellij-support.jetbrains.com/hc/en-us/community/posts/206562719-JNI-CreateJavaVM-failure-on-2016-1 which points to the ~/Library/Preferences/IntelliJIdea2016.1/idea.vmoptions file, butI can't find it on machine.
Any help would be much appreciated.
Please sign in to leave a comment.
>/Library/Preferences/IntelliJIdea2016.1/idea.vmoptions file, butI can't find it on machine.
If you are using AndroidStudio there will be no IntelliJIdea2016.1 folder. Should be something with AndroidStudio name in it. Try starting with default settings (rename/remove settings folders https://intellij-support.jetbrains.com/hc/en-us/articles/206544519 ).