Search code examples
androidandroid-studioandroid-studio-electric-eel

Android Studio Electric Eel Update Failure


I have updated android studio to Electric Eel and I got the following error message. What should I do ?

Error launching Studio

Failed to load JVM DLL C:\Program Files\Android Android Studio\jbr\bin\server\jvm.dll If you already have a JDK installed, define a JAVA_HOME variable in Computer > System Properties > System Settings > Environment Variables.

error message

I have tried changing the environment variables into different path but nothing worked.


Solution

  • I have faced same issue after updating android studio version electric eel. it's show error like this. enter image description here

    After many try I found this solution. you can follow this steps.

    Step 1 : You can visit this site Official Oracle Java SE Development Kit Site and download particular JDK kit for your pc configuration. I am suggest to download this JDK version Java SE Development Kit 18.0.2.1 and after download you can install in your computer.

    Step 2 : After Successfully installed you can go

    Stat--> Search--> Edit Environment Variable --> You can follow this image

    1.enter image description here

    enter image description here

    Step 3: Now You can Add JAVA_HOME: C:\Program Files\Java\jdk-18.0.2.1 (install version in your pc) Like this enter image description here

    and also add PATH : C:\Program Files\Java\jdk-18.0.2.1\bin (install version in your pc) Like this enter image description here

    Note : You can only add user variable not system variable.

    Step 4 : Last step but main after follow these steps you can restart your pc.