简体   繁体   中英

Failed to load JVM DLL - Android Studio

I have installed Android Studio on my Windows 10 PC and I have encountered an error when starting it. I get this error

I have set JAVA_HOME in my system environmental variables, I tried setting it both in User and System Variables, but it's always the same error. img

When I type in javac -version and java -version in command prompt it gives me the correct java version with no errors.

I had this error with older versions of Java JDK as well..

I was having the same problem with you. Goto this location: C:\\Users\\yourName\\ and delete the ".AndroidStudio2.3" folder you have there. I just did mine and it works. Note that I used "AndroidStudio2.3" because mine is version2.3. in other words, the version number should be replaced with the version number of your Android Studio.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM