Android Studio error reporting failed to create jvm error code 4 solution
- 2020-05-30 21:01:57
After installing Android Studio, it started, but the error was reported as follows:
failed to create jvm error code -4
This 1 should be due to insufficient memory, the solution is referred to below.
Open the bin directory under the Android Studio installation directory, find and open the file studio.exe.vmoptions, modify the code:
-Xmx512m for -Xmx256m
After saving, it should open normally.