Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't launch Android Studio

I installed succesfully Android Studio on Windows 7 64bit, but it fails at launching. The following screenshots illustrate what happens.

Trying to launch Android StudioAfter previous error dialog

I read the answer here but still have not found the solution.

I've done the following things:

  • Set environmental variables JDK_HOME, ANDROID_STUDIO_JDK and JAVA_HOME to "C:\Program Files\Java\jdk1.7.0_17\"
  • Set them to "C:\Program Files\Java\jdk1.7.0_17"
  • Download msvcr100d.dll and placed it on "C:\Windows\System32\" and "C:\Windows\SysWOW64\"
  • Reinstalled Android Studio

Still having the same issue. Can't see where the problem is. How can I solve this?

like image 372
anairinac Avatar asked Jul 12 '13 05:07

anairinac


People also ask

Why Android Studio is not working in my laptop?

1: Make sure you have installed SDK Just some users weren't able to do run this development tool, even after multiple tries. Even though this is rare, we still must advise you to check the Java SDK (Software Development Kit) from Oracle. Without it, Android Studio won't work.

Why does Android Studio keep stopping?

An Android app crashes whenever there's an unexpected exit caused by an unhandled exception or signal. An app that is written using Java or Kotlin crashes if it throws an unhandled exception, represented by the Throwable class.


1 Answers

Just found the solution.

I tried to launch Android Studio from the Start menu, which provoked that issue. So I tried to launch from its main directory and it worked. The shortcut target path was wrong.

Shortcut target path Before:

C:\Program Files (x86)\Android\android-studio\bin\studio64.exe

Real executable path:

C:\Program Files (x86)\Android\android-studio\studio.exe

The studio.exe and studio64.exe inside bin folder doesn't work, but the one in android-studio seems to work perfectly. Just change the shortcut's target to that path and you're ready to launch it properly from the Start Menu.

like image 177
anairinac Avatar answered Oct 05 '22 09:10

anairinac