Documente Academic
Documente Profesional
Documente Cultură
IwasjustupdatedmylastAndroidStudioandgotthiserror:
failedtocreatejvmerrorcode4JVMPath:C:\ProgramFiles\Java\jdk1.7.0_45\jreIfyoualreadyhavea32
bitJDKinstalled,defineaJAVA_HOMEvariableinWhichisnotsolved.
GotoC:\ProgramFiles\Android\AndroidStudio\bin\studio.exe.vmoptions
Openitwithnotepad.sometimesitwillnotbeeditablesogiveadministrativepermissionandchangethe
followingattributes:
Xmx512mtoXmx256m
XX:MaxPermSize=250mtoXX:MaxPermSize=128m
Orchange:
Xmx750mtoXmx512m
XX:MaxPermSize=350mtoXX:MaxPermSize=250m
finallyIgotanswerhere.Youneedtochangevmoptionsfilefromandroidstudio.
GotoProgramfiles>Android>AndroidStudio>Bin>androidstudio.exevmoptionsfile.
Openitwithnotepadandchangethefollowingattributes:
ChangeXmx512mtoXmx256mandXX:MaxPermSize=250mtoXX:MaxPermSize=128mor
ChangeXmx750mtoXmx512mandXX:MaxPermSize=350mtoXX:MaxPermSize=250m