Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

android studio device monitor error "Java has started but returned exit code = 13"

When i start android device monitor in android studio "Java has started but returned exit code = 13" error with java path files is displayed. I am using "android studio (beta)0.89"

like image 757
Kushalappa N P Avatar asked Oct 11 '14 04:10

Kushalappa N P


4 Answers

I fixed this problem on my Windows 7 computer by installing the 64 bit version of Java 8. I did not have to uninstall or downgrade Java.

Be careful when downloading the Java installation. According to this FAQ, you will probably end up with 32 bit if you use the default installation.

Manually select the 'Windows Offline (64-bit)' version here, rather than letting the Java website choose for you.

like image 133
mattdedek Avatar answered Nov 19 '22 19:11

mattdedek


This has happened to me just now after installing the latest Java version (v8) which for some reason only comes with 32-bit support while my PC is 64-bit.

I fixed the issue by uninstalling the version 8 of Java which automatically downgraded to Java 7 and it works fine.

like image 38
Dzhuneyt Avatar answered Nov 19 '22 20:11

Dzhuneyt


I have been able to fix this issue by uninstalling the 32-bit Java 8 version I had, and then installing the latest 64-bit Java 8 version instead. (I didn't have to downgrade)

like image 3
Stan Hebben Avatar answered Nov 19 '22 19:11

Stan Hebben


I think you are trying to open the wrong version of the monitor.exe it might have been changed during an upgrade. Under sdk/tools/lib there should be both the 32 and 64 bit versions under the "monitor-x86 or _64" folder. try either one if it works good. If you want to download the 64bit java version you must use a 64 bit browser. example in IExplorer 11 + you can change it back to 32 bit and back to 64 bit when needed. I did try the java upgrade before and was still getting the java error.

like image 1
Deleted Avatar answered Nov 19 '22 20:11

Deleted