Search code examples
javaandroidandroid-studiointellij-ideaintellij-14

Error launching studio: "Could not find main class com/intellij/idea/Main" when installing Android studio


I'm currently having an issue installing Android studio. Whenever I clicked on studio.exe to begin installing it pops up with an error message saying: Could not find main class com/intellij/idea/Main

enter image description here

I've searched through but still no way out. I have installed Java and configure my environment variables.

Please, what could have gone wrong?

Thanks.


Solution

  • Windows

    To install Android Studio on Windows, proceed as follows:

    • If you downloaded an .exe file (recommended), double-click to launch it.
    • If you downloaded a .zip file, unpack the ZIP, copy the android-studio folder into your Program Files folder, and then open the android-studio > bin folder and launch studio64.exe (for 64-bit machines) or studio.exe (for 32-bit machines).

    Follow the setup wizard in Android Studio and install any SDK packages that it recommends.