I have installed Android Studio using the /NCRC tag by running the downloaded executable from the Command Prompt. The installation was successful.
However, when I run it for the first time, I get an error (0xc0000020) studio64.exe - Bad Image Error
When, I click Ok I get the following Dialog Box: Error Launching Studio
Now, the following things I tried:
Initially I had JDK v9 installed, I uninstalled that and then installed JDK v8 and reset all the Environmental Variables.
I have set the JAVA_HOME , JDK_HOME Environment Variables. I have also included the path to the jdk , jre , jdk/bin , jre/bin folders.
I have downloaded Android Studio multiple times using Firefox , Ninja Downloader and also Microsoft Edge , yet the problem persists.
I have restarted multiple times.
Upon receiving the first error:
studio64.exe - Bad Image Error
I did the following things:
- Copied jvm.dll from "...\Java\jre1.8.0_151\bin\server\" to "C:\Program Files\Android\Android Studio\jre\jre\bin\server" Then, I re-ran Android Studio again. I got errors:
- Similarly, I kept on adding the dll files from the "...\Java\jre1.8.0_151\bin\" folder into "C:\Program Files\Android\Android Studio\jre\jre\bin\" as per the errors that
were shown.
Once all these steps were done, no further errors arose. However, Android Studio does not run anymore now.
Is there any solution I can try to install and run Android Studio v3.0.1 ??