Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

Android Studio ADM button error

Hi Team Treehouse

Please could you help me with an issue I'm having with Android Studio. I'm trying to run the Genymotion emulator in the Android Studio, and have been following Ben Jakuben's tutorials.

However, after successfully running the GenyMotion emulator, I encountered a problem. When I press the Android Device Monitor button, I get this message in a separate window:

Java was started but returned exist code=1 C:\Windows\system32\javaw.exe -XX:MaxPermSize=256m -Xms512m -Xmx1024m -jar G:\Android_Studio\android-studio\sdk\tools\lib\monitor-x86_64\plugins/org.eclipse.equinox,launcher_1.3.0.v20120522-1813.jar -os win32 -ws win32 -arch x86_64 -showsplash -launcher G:\Android_Studio\android-studio\sdk\tools\lib\monitor-x86_64\plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120913-144807\eclipse_1503.dll -startup G:\Android_Studio\android-studio\sdk\tools\lib\monitor-x86_64\plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar --launcher.overrideVmargs -existdata 27d4_74 -data @noDefault -vm C:\Windows\system32\javaw.exe -vmargs -XX:MaxPermSize=256m -Xms512m -Xmx1024m -jar G:\Android_studio\android-studio\sdk\tools\lib\monitor-x86_64\plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar

I'm using Windows 8 (64 bit), and have downloaded the Java and Android Studio files from the Treehouse website, so I'm not sure what's gone wrong.

I'm storing Android Studio on an external hard drive (G), and have Java on that drive as well (although it also appears in my primary C drive, where I've set the environment variable path; although I have tried changing the paths for the JDK to the G drive and still get the same message).

Many thanks

Phil

6 Answers

Hi Phil, try to change -vm to point to jvm.dll instead of java.exe as shown in your error. You can check this the answer here - Eclipse returns error message “Java was started but returned exit code = 1” - to find out how to do that.

Hi Gloria

Thanks for your reply. I've had a play around with the problem and tried to follow the advice on the article you mentioned. I went into the Android Studio folder and found the Monitor.ini file, and added this line of code there before the -vmargs command:

-vm G:\Web Dev\java\jdk1.7.0_67\jre\bin\server\jvm.dll

I saved the changes, closed the Monitor.ini document, and restarted Android Studio. Now when I press the ADM button, I get this message (see the difference near the bottom where it says -vm):

Java was started but returned exist code=1 C:\Windows\system32\javaw.exe -XX:MaxPermSize=256m -Xms512m -Xmx1024m -jar G:\Android_Studio\android-studio\sdk\tools\lib\monitor-x86_64\plugins/org.eclipse.equinox,launcher_1.3.0.v20120522-1813.jar -os win32 -ws win32 -arch x86_64 -showsplash -launcher G:\Android_Studio\android-studio\sdk\tools\lib\monitor-x86_64\plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120913-144807\eclipse_1503.dll -startup G:\Android_Studio\android-studio\sdk\tools\lib\monitor-x86_64\plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar --launcher.overrideVmargs -existdata 27d4_74 -data @noDefault-vm G:\Web Dev\java\jdk1.7.0_67\jre\bin\server\jvm.dll -vm C:\Windows\system32\javaw.exe -vmargs -XX:MaxPermSize=256m -Xms512m -Xmx1024m -jar G:\Android_studio\android-studio\sdk\tools\lib\monitor-x86_64\plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar

Can you tell me what I'm doing wrong?

Many thanks

Phil

I think...you are trying to run a 64-bit Android Studio with a 32-bit Java Runtime. Make sure the Java you are using is indeed for 64bit. I don't remember if the ones at the files are for 64 or 32 bit.

Hi Gloria

Thanks for patiently trying to help. I basically re-installed Android Studio and Java from the developer website (Android Studio 0.8.14, and Java SE Development kit 8 - jdk-8u25-windows-x64). Now when I press the ADM button, the above message no longer appears. Instead, it displays this message from 'Monitor':

An error has occurred. See the log file G:\Android_Studio\android_studio\sdk\tools\lib\monitor-x86_64\configuration\1415727603778.log

I followed the path and opened the log file, and it displays an enormous amount of text, which I have no idea how to deal with. If you can help at all, here it is!

!SESSION 2014-11-11 17:40:03.549 ----------------------------------------------- eclipse.buildId=unknown java.version=1.8.0_25 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_GB Framework arguments: -XX:MaxPermSize=256m -Xms512m -Xmx1024m Command-line arguments: -os win32 -ws win32 -arch x86_64 -data @noDefault-vm G:\Web Dev\java\jdk1.7.0_67\jre\bin\server\jvm.dll -vmargs -XX:MaxPermSize=256m -Xms512m -Xmx1024m

!ENTRY org.eclipse.osgi 4 0 2014-11-11 17:40:03.964 !MESSAGE Bundle reference:file:org.apache.ant_1.8.3.v201301120609/@4 not found.

!ENTRY org.eclipse.osgi 4 0 2014-11-11 17:40:03.968 !MESSAGE Bundle reference:file:org.apache.jasper.glassfish_2.2.2.v201205150955.jar@4 not found.

!ENTRY org.eclipse.osgi 4 0 2014-11-11 17:40:03.971 !MESSAGE Bundle reference:file:org.apache.lucene.core_2.9.1.v201101211721.jar@4 not found.

!ENTRY org.eclipse.osgi 4 0 2014-11-11 17:40:03.998 !MESSAGE Bundle reference:file:org.eclipse.help.base_3.6.101.v201302041200.jar@4 not found.

!ENTRY org.eclipse.osgi 4 0 2014-11-11 17:40:03.999 !MESSAGE Bundle reference:file:org.eclipse.help.ui_3.5.201.v20130108-092756.jar@4 not found.

!ENTRY org.eclipse.osgi 4 0 2014-11-11 17:40:04.000 !MESSAGE Bundle reference:file:org.eclipse.help.webapp_3.6.101.v20130116-182509.jar@4 not found.

!ENTRY org.eclipse.osgi 4 0 2014-11-11 17:40:04.002 !MESSAGE Bundle reference:file:org.eclipse.jetty.server_8.1.3.v20120522.jar@4 not found.

!ENTRY org.eclipse.osgi 4 0 2014-11-11 17:40:04.007 !MESSAGE Bundle reference:file:org.eclipse.platform.doc.user_4.2.2.v20130121-200410.jar@4 not found.

!ENTRY org.eclipse.osgi 4 0 2014-11-11 17:40:04.009 !MESSAGE Bundle reference:file:org.eclipse.team.core_3.6.100.v20120524-0627.jar@4 not found.

!ENTRY org.eclipse.osgi 4 0 2014-11-11 17:40:04.010 !MESSAGE Bundle reference:file:org.eclipse.team.ui_3.6.201.v20130125-135424.jar@4 not found.

!ENTRY org.eclipse.osgi 4 0 2014-11-11 17:40:04.012 !MESSAGE Bundle reference:file:org.eclipse.ui.cheatsheets_3.4.200.v20120521-2344.jar@4 not found.

!ENTRY org.eclipse.osgi 4 0 2014-11-11 17:40:04.014 !MESSAGE Bundle reference:file:org.eclipse.ui.intro_3.4.200.v20120521-2344.jar@4 not found.

!ENTRY org.eclipse.osgi 2 0 2014-11-11 17:40:04.588 !MESSAGE One or more bundles are not resolved because the following root constraints are not resolved: !SUBENTRY 1 org.eclipse.osgi 2 0 2014-11-11 17:40:04.588 !MESSAGE Bundle initial@reference:file:plugins/org.eclipse.jetty.security_8.1.3.v20120522.jar was not resolved. !SUBENTRY 2 org.eclipse.jetty.security 2 0 2014-11-11 17:40:04.588 !MESSAGE Missing imported package org.eclipse.jetty.server.handler_[8.1.0,9.0.0). !SUBENTRY 2 org.eclipse.jetty.security 2 0 2014-11-11 17:40:04.589 !MESSAGE Missing imported package org.eclipse.jetty.server_[8.1.0,9.0.0). !SUBENTRY 1 org.eclipse.osgi 2 0 2014-11-11 17:40:04.589 !MESSAGE Bundle initial@reference:file:plugins/org.eclipse.equinox.jsp.jasper.registry_1.0.300.v20120912-130548.jar was not resolved. !SUBENTRY 2 org.eclipse.equinox.jsp.jasper.registry 2 0 2014-11-11 17:40:04.589 !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))". !SUBENTRY 1 org.eclipse.osgi 2 0 2014-11-11 17:40:04.589 !MESSAGE Bundle initial@reference:file:plugins/org.eclipse.ltk.ui.refactoring_3.7.0.v20120523-1543.jar was not resolved. !SUBENTRY 2 org.eclipse.ltk.ui.refactoring 2 0 2014-11-11 17:40:04.589 !MESSAGE Missing required bundle org.eclipse.team.ui_[3.4.100,4.0.0). !SUBENTRY 2 org.eclipse.ltk.ui.refactoring 2 0 2014-11-11 17:40:04.589 !MESSAGE Missing required bundle org.eclipse.team.core_[3.4.100,4.0.0). !SUBENTRY 1 org.eclipse.osgi 2 0 2014-11-11 17:40:04.589 !MESSAGE Bundle initial@reference:file:plugins/org.apache.lucene.analysis_2.9.1.v201101211721.jar was not resolved. !SUBENTRY 2 org.apache.lucene.analysis 2 0 2014-11-11 17:40:04.590 !MESSAGE Missing required bundle org.apache.lucene.core_[2.9.1,3.0.0). !SUBENTRY 1 org.eclipse.osgi 2 0 2014-11-11 17:40:04.590 !MESSAGE Bundle initial@reference:file:plugins/org.eclipse.ui.intro.universal_3.2.600.v20120912-155524/ was not resolved. !SUBENTRY 2 org.eclipse.ui.intro.universal 2 0 2014-11-11 17:40:04.590 !MESSAGE Missing required bundle org.eclipse.ui.intro_[3.4.0,4.0.0). !SUBENTRY 1 org.eclipse.osgi 2 0 2014-11-11 17:40:04.590 !MESSAGE Bundle initial@reference:file:plugins/org.apache.lucene_2.9.1.v201101211721.jar was not resolved. !SUBENTRY 2 org.apache.lucene 2 0 2014-11-11 17:40:04.590 !MESSAGE Missing required bundle org.apache.lucene.core_[2.9.1,3.0.0). !SUBENTRY 1 org.eclipse.osgi 2 0 2014-11-11 17:40:04.590 !MESSAGE Bundle initial@reference:file:plugins/org.eclipse.equinox.jsp.jasper_1.0.400.v20120912-130548.jar was not resolved. !SUBENTRY 2 org.eclipse.equinox.jsp.jasper 2 0 2014-11-11 17:40:04.590 !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))". !SUBENTRY 2 org.eclipse.equinox.jsp.jasper 2 0 2014-11-11 17:40:04.590 !MESSAGE Missing imported package org.apache.jasper.servlet_[0.0.0,6.0.0). !SUBENTRY 1 org.eclipse.osgi 2 0 2014-11-11 17:40:04.590 !MESSAGE Bundle initial@reference:file:plugins/org.eclipse.jetty.servlet_8.1.3.v20120522.jar was not resolved. !SUBENTRY 2 org.eclipse.jetty.servlet 2 0 2014-11-11 17:40:04.590 !MESSAGE Missing imported package org.eclipse.jetty.server_[8.1.0,9.0.0). !SUBENTRY 2 org.eclipse.jetty.servlet 2 0 2014-11-11 17:40:04.590 !MESSAGE Missing imported package org.eclipse.jetty.server.nio_[8.1.0,9.0.0). !SUBENTRY 2 org.eclipse.jetty.servlet 2 0 2014-11-11 17:40:04.590 !MESSAGE Missing imported package org.eclipse.jetty.server.ssl_[8.1.0,9.0.0). !SUBENTRY 2 org.eclipse.jetty.servlet 2 0 2014-11-11 17:40:04.590 !MESSAGE Missing imported package org.eclipse.jetty.server.handler_[8.1.0,9.0.0). !SUBENTRY 2 org.eclipse.jetty.servlet 2 0 2014-11-11 17:40:04.590 !MESSAGE Missing imported package org.eclipse.jetty.server.session_[8.1.0,9.0.0). !SUBENTRY 1 org.eclipse.osgi 2 0 2014-11-11 17:40:04.591 !MESSAGE Bundle initial@reference:file:plugins/org.eclipse.platform_4.2.2.v201302041200/ was not resolved. !SUBENTRY 2 org.eclipse.platform 2 0 2014-11-11 17:40:04.591 !MESSAGE Missing required bundle org.eclipse.ui.intro_[3.2.0,4.0.0). !SUBENTRY 2 org.eclipse.platform 2 0 2014-11-11 17:40:04.591 !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))". !SUBENTRY 1 org.eclipse.osgi 2 0 2014-11-11 17:40:04.591 !MESSAGE Bundle initial@reference:file:plugins/org.eclipse.equinox.http.jetty_3.0.1.v20121109-203239.jar was not resolved. !SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2014-11-11 17:40:04.591 !MESSAGE Missing imported package org.eclipse.jetty.server.handler_[8.0.0,9.0.0). !SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2014-11-11 17:40:04.591 !MESSAGE Missing imported package org.eclipse.jetty.server_[8.0.0,9.0.0). !SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2014-11-11 17:40:04.591 !MESSAGE Missing imported package org.eclipse.jetty.server.session_[8.0.0,9.0.0). !SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2014-11-11 17:40:04.591 !MESSAGE Missing imported package org.eclipse.jetty.server.nio_[8.0.0,9.0.0). !SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2014-11-11 17:40:04.591 !MESSAGE Missing imported package org.eclipse.jetty.server.ssl_[8.0.0,9.0.0). !SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2014-11-11 17:40:04.591 !MESSAGE Missing imported package org.eclipse.jetty.server.bio_[8.0.0,9.0.0).

!ENTRY org.eclipse.osgi 2 0 2014-11-11 17:40:04.633 !MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists: !SUBENTRY 1 org.eclipse.osgi 2 0 2014-11-11 17:40:04.633 !MESSAGE Bundle org.apache.lucene_2.9.1.v201101211721 [25] was not resolved. !SUBENTRY 2 org.apache.lucene 2 0 2014-11-11 17:40:04.633 !MESSAGE Missing required bundle org.apache.lucene.core_[2.9.1,3.0.0). !SUBENTRY 2 org.apache.lucene 2 0 2014-11-11 17:40:04.633 !MESSAGE Missing optionally required bundle org.apache.lucene.analysis_[2.9.1,3.0.0). !SUBENTRY 2 org.apache.lucene 2 0 2014-11-11 17:40:04.633 !MESSAGE Missing optionally required bundle org.apache.lucene.highlighter_[2.9.1,3.0.0). !SUBENTRY 2 org.apache.lucene 2 0 2014-11-11 17:40:04.633 !MESSAGE Missing optionally required bundle org.apache.lucene.memory_[2.9.1,3.0.0). !SUBENTRY 2 org.apache.lucene 2 0 2014-11-11 17:40:04.633 !MESSAGE Missing optionally required bundle org.apache.lucene.queries_[2.9.1,3.0.0). !SUBENTRY 2 org.apache.lucene 2 0 2014-11-11 17:40:04.633 !MESSAGE Missing optionally required bundle org.apache.lucene.snowball_[2.9.1,3.0.0). !SUBENTRY 2 org.apache.lucene 2 0 2014-11-11 17:40:04.633 !MESSAGE Missing optionally required bundle org.apache.lucene.spellchecker_[2.9.1,3.0.0). !SUBENTRY 2 org.apache.lucene 2 0 2014-11-11 17:40:04.634 !MESSAGE Missing optionally required bundle org.apache.lucene.misc_[2.9.1,3.0.0). !SUBENTRY 1 org.eclipse.osgi 2 0 2014-11-11 17:40:04.634 !MESSAGE Bundle org.apache.lucene.analysis_2.9.1.v201101211721 [26] was not resolved. !SUBENTRY 2 org.apache.lucene.analysis 2 0 2014-11-11 17:40:04.634 !MESSAGE Missing required bundle org.apache.lucene.core_[2.9.1,3.0.0). !SUBENTRY 1 org.eclipse.osgi 2 0 2014-11-11 17:40:04.634 !MESSAGE Bundle org.eclipse.equinox.http.jetty_3.0.1.v20121109-203239 [90] was not resolved. !SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2014-11-11 17:40:04.634 !MESSAGE Missing imported package org.eclipse.jetty.server_[8.0.0,9.0.0). !SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2014-11-11 17:40:04.634 !MESSAGE Missing imported package org.eclipse.jetty.server.bio_[8.0.0,9.0.0). !SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2014-11-11 17:40:04.634 !MESSAGE Missing imported package org.eclipse.jetty.server.handler_[8.0.0,9.0.0). !SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2014-11-11 17:40:04.634 !MESSAGE Missing imported package org.eclipse.jetty.server.nio_[8.0.0,9.0.0). !SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2014-11-11 17:40:04.634 !MESSAGE Missing imported package org.eclipse.jetty.server.session_[8.0.0,9.0.0). !SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2014-11-11 17:40:04.634 !MESSAGE Missing imported package org.eclipse.jetty.server.ssl_[8.0.0,9.0.0). !SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2014-11-11 17:40:04.634 !MESSAGE Missing imported package org.eclipse.jetty.servlet_[8.0.0,9.0.0). !SUBENTRY 1 org.eclipse.osgi 2 0 2014-11-11 17:40:04.634 !MESSAGE Bundle org.eclipse.equinox.jsp.jasper_1.0.400.v20120912-130548 [93] was not resolved. !SUBENTRY 2 org.eclipse.equinox.jsp.jasper 2 0 2014-11-11 17:40:04.634 !MESSAGE Missing imported package org.apache.jasper.servlet_[0.0.0,6.0.0). !SUBENTRY 2 org.eclipse.equinox.jsp.jasper 2 0 2014-11-11 17:40:04.634 !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))". !SUBENTRY 1 org.eclipse.osgi 2 0 2014-11-11 17:40:04.634 !MESSAGE Bundle org.eclipse.equinox.jsp.jasper.registry_1.0.300.v20120912-130548 [94] was not resolved. !SUBENTRY 2 org.eclipse.equinox.jsp.jasper.registry 2 0 2014-11-11 17:40:04.634 !MESSAGE Missing imported package org.eclipse.equinox.jsp.jasper_0.0.0. !SUBENTRY 2 org.eclipse.equinox.jsp.jasper.registry 2 0 2014-11-11 17:40:04.634 !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))". !SUBENTRY 1 org.eclipse.osgi 2 0 2014-11-11 17:40:04.634 !MESSAGE Bundle org.eclipse.jetty.security_8.1.3.v20120522 [137] was not resolved. !SUBENTRY 2 org.eclipse.jetty.security 2 0 2014-11-11 17:40:04.634 !MESSAGE Missing imported package org.eclipse.jetty.server_[8.1.0,9.0.0). !SUBENTRY 2 org.eclipse.jetty.security 2 0 2014-11-11 17:40:04.634 !MESSAGE Missing imported package org.eclipse.jetty.server.handler_[8.1.0,9.0.0). !SUBENTRY 1 org.eclipse.osgi 2 0 2014-11-11 17:40:04.634 !MESSAGE Bundle org.eclipse.jetty.servlet_8.1.3.v20120522 [138] was not resolved. !SUBENTRY 2 org.eclipse.jetty.servlet 2 0 2014-11-11 17:40:04.634 !MESSAGE Missing optionally imported package org.eclipse.jetty.jmx_8.0.0. !SUBENTRY 2 org.eclipse.jetty.servlet 2 0 2014-11-11 17:40:04.634 !MESSAGE Missing imported package org.eclipse.jetty.security_[8.1.0,9.0.0). !SUBENTRY 2 org.eclipse.jetty.servlet 2 0 2014-11-11 17:40:04.634 !MESSAGE Missing imported package org.eclipse.jetty.server_[8.1.0,9.0.0). !SUBENTRY 2 org.eclipse.jetty.servlet 2 0 2014-11-11 17:40:04.634 !MESSAGE Missing imported package org.eclipse.jetty.server.handler_[8.1.0,9.0.0). !SUBENTRY 2 org.eclipse.jetty.servlet 2 0 2014-11-11 17:40:04.634 !MESSAGE Missing imported package org.eclipse.jetty.server.nio_[8.1.0,9.0.0). !SUBENTRY 2 org.eclipse.jetty.servlet 2 0 2014-11-11 17:40:04.634 !MESSAGE Missing imported package org.eclipse.jetty.server.session_[8.1.0,9.0.0). !SUBENTRY 2 org.eclipse.jetty.servlet 2 0 2014-11-11 17:40:04.634 !MESSAGE Missing imported package org.eclipse.jetty.server.ssl_[8.1.0,9.0.0). !SUBENTRY 1 org.eclipse.osgi 2 0 2014-11-11 17:40:04.634 !MESSAGE Bundle org.eclipse.ltk.ui.refactoring_3.7.0.v20120523-1543 [146] was not resolved. !SUBENTRY 2 org.eclipse.ltk.ui.refactoring 2 0 2014-11-11 17:40:04.634 !MESSAGE Missing required bundle org.eclipse.team.core_[3.4.100,4.0.0). !SUBENTRY 2 org.eclipse.ltk.ui.refactoring 2 0 2014-11-11 17:40:04.634 !MESSAGE Missing required bundle org.eclipse.team.ui_[3.4.100,4.0.0). !SUBENTRY 1 org.eclipse.osgi 2 0 2014-11-11 17:40:04.634 !MESSAGE Bundle org.eclipse.platform_4.2.2.v201302041200 [149] was not resolved. !SUBENTRY 2 org.eclipse.platform 2 0 2014-11-11 17:40:04.634 !MESSAGE Missing required bundle org.eclipse.ui.intro_[3.2.0,4.0.0). !SUBENTRY 2 org.eclipse.platform 2 0 2014-11-11 17:40:04.634 !MESSAGE Missing optionally required bundle org.eclipse.ui.cheatsheets_[3.2.0,4.0.0). !SUBENTRY 2 org.eclipse.platform 2 0 2014-11-11 17:40:04.634 !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))". !SUBENTRY 1 org.eclipse.osgi 2 0 2014-11-11 17:40:04.634 !MESSAGE Bundle org.eclipse.search_3.8.0.v20120523-1540 [151] was not resolved. !SUBENTRY 2 org.eclipse.search 2 0 2014-11-11 17:40:04.634 !MESSAGE Missing required bundle org.eclipse.ltk.ui.refactoring_[3.5.0,4.0.0). !SUBENTRY 1 org.eclipse.osgi 2 0 2014-11-11 17:40:04.634 !MESSAGE Bundle org.eclipse.ui.intro.universal_3.2.600.v20120912-155524 [163] was not resolved. !SUBENTRY 2 org.eclipse.ui.intro.universal 2 0 2014-11-11 17:40:04.634 !MESSAGE Missing required bundle org.eclipse.ui.intro_[3.4.0,4.0.0). !SUBENTRY 1 org.eclipse.osgi 2 0 2014-11-11 17:40:04.634 !MESSAGE Bundle org.eclipse.ui.navigator.resources_3.4.400.v20120705-114010 [165] was not resolved. !SUBENTRY 2 org.eclipse.ui.navigator.resources 2 0 2014-11-11 17:40:04.634 !MESSAGE Missing required bundle org.eclipse.ltk.ui.refactoring_[3.5.0,4.0.0).

!ENTRY org.eclipse.osgi 4 0 2014-11-11 17:40:04.636 !MESSAGE Application error !STACK 1 java.lang.IllegalStateException: Cannot change the location once it is set. at org.eclipse.core.runtime.internal.adaptor.BasicLocation.set(BasicLocation.java:142) at org.eclipse.core.runtime.internal.adaptor.BasicLocation.set(BasicLocation.java:137) at com.android.ide.eclipse.monitor.MonitorApplication.start(MonitorApplication.java:53) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) at org.eclipse.equinox.launcher.Main.run(Main.java:1438)

!ENTRY com.android.ide.eclipse.monitor 4 0 2014-11-11 17:40:04.650 !MESSAGE FrameworkEvent ERROR !STACK 0 org.osgi.framework.BundleException: Exception in com.android.ide.eclipse.monitor.MonitorPlugin.stop() of bundle com.android.ide.eclipse.monitor. at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:791) at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:510) at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:566) at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1206) at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:592) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257) at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215) at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:284) at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:692) at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:600) at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:399) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:199) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) at org.eclipse.equinox.launcher.Main.run(Main.java:1438) Caused by: java.lang.IllegalStateException: The platform metadata area could not be written: C:\Users\PG\Documents\android-studio-ide-135.1538390-windows\android-studio\bin\@noDefault-vm G:\Web Dev\java\jdk1.7.0_67\jre\bin\server\jvm.dll -vmargs.metadata. By default the platform writes its content under the current working directory when the platform is launched. Use the -data parameter to specify a different content area for the platform. at org.eclipse.core.internal.runtime.DataArea.assertLocationInitialized(DataArea.java:61) at org.eclipse.core.internal.runtime.DataArea.getStateLocation(DataArea.java:125) at org.eclipse.core.internal.preferences.InstancePreferences.getBaseLocation(InstancePreferences.java:44) at org.eclipse.core.internal.preferences.InstancePreferences.initializeChildren(InstancePreferences.java:199) at org.eclipse.core.internal.preferences.InstancePreferences.<init>(InstancePreferences.java:59) at org.eclipse.core.internal.preferences.InstancePreferences.internalCreate(InstancePreferences.java:209) at org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:391) at org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:379) at org.eclipse.core.internal.preferences.PreferencesService.createNode(PreferencesService.java:389) at org.eclipse.core.internal.preferences.RootPreferences.getChild(RootPreferences.java:63) at org.eclipse.core.internal.preferences.RootPreferences.getNode(RootPreferences.java:101) at org.eclipse.core.internal.preferences.RootPreferences.node(RootPreferences.java:90) at org.eclipse.core.internal.preferences.legacy.PreferenceForwarder.<init>(PreferenceForwarder.java:37) at org.eclipse.core.runtime.Plugin$1.run(Plugin.java:370) at org.eclipse.core.runtime.Plugin.getPluginPreferences(Plugin.java:373) at org.eclipse.core.runtime.Plugin.savePluginPreferences(Plugin.java:400) at org.eclipse.ui.plugin.AbstractUIPlugin.savePreferenceStore(AbstractUIPlugin.java:526) at org.eclipse.ui.plugin.AbstractUIPlugin.stop(AbstractUIPlugin.java:630) at com.android.ide.eclipse.monitor.MonitorPlugin.stop(MonitorPlugin.java:43) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:771) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:764) ... 18 more Root exception: java.lang.IllegalStateException: The platform metadata area could not be written: C:\Users\PG\Documents\android-studio-ide-135.1538390-windows\android-studio\bin\@noDefault-vm G:\Web Dev\java\jdk1.7.0_67\jre\bin\server\jvm.dll -vmargs.metadata. By default the platform writes its content under the current working directory when the platform is launched. Use the -data parameter to specify a different content area for the platform. at org.eclipse.core.internal.runtime.DataArea.assertLocationInitialized(DataArea.java:61) at org.eclipse.core.internal.runtime.DataArea.getStateLocation(DataArea.java:125) at org.eclipse.core.internal.preferences.InstancePreferences.getBaseLocation(InstancePreferences.java:44) at org.eclipse.core.internal.preferences.InstancePreferences.initializeChildren(InstancePreferences.java:199) at org.eclipse.core.internal.preferences.InstancePreferences.<init>(InstancePreferences.java:59) at org.eclipse.core.internal.preferences.InstancePreferences.internalCreate(InstancePreferences.java:209) at org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:391) at org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:379) at org.eclipse.core.internal.preferences.PreferencesService.createNode(PreferencesService.java:389) at org.eclipse.core.internal.preferences.RootPreferences.getChild(RootPreferences.java:63) at org.eclipse.core.internal.preferences.RootPreferences.getNode(RootPreferences.java:101) at org.eclipse.core.internal.preferences.RootPreferences.node(RootPreferences.java:90) at org.eclipse.core.internal.preferences.legacy.PreferenceForwarder.<init>(PreferenceForwarder.java:37) at org.eclipse.core.runtime.Plugin$1.run(Plugin.java:370) at org.eclipse.core.runtime.Plugin.getPluginPreferences(Plugin.java:373) at org.eclipse.core.runtime.Plugin.savePluginPreferences(Plugin.java:400) at org.eclipse.ui.plugin.AbstractUIPlugin.savePreferenceStore(AbstractUIPlugin.java:526) at org.eclipse.ui.plugin.AbstractUIPlugin.stop(AbstractUIPlugin.java:630) at com.android.ide.eclipse.monitor.MonitorPlugin.stop(MonitorPlugin.java:43) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:771) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:764) at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:510) at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:566) at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1206) at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:592) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257) at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215) at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:284) at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:692) at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:600) at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:399) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:199) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) at org.eclipse.equinox.launcher.Main.run(Main.java:1438)

Hey, Phil! Well, that is a long error! It is funny the software is android studio but half the errors write eclipse. In this old bug report file someone noted...'Could you please make sure that: a) no other version of monitor is running, and b) do: rm -f $HOME/.android/monitor-workspace and then try again?" If you are not on linux you can search for the .android file and then monitor-workspace manually and delete it. You can check if any other version of monitor is running through your task manager processes. Let me know if that helps.

Hi Gloria, where do I type in the rm -f $HOME/.android/monitor-workspace command? In the command prompt or somewhere else? I dug through my Android Studio files, and found a file called monitor.bat - when I double click on it, it comes up with a similar error message as when I press the ADM button in Android Studio:

An error has occurred. See the log file G:\Android_Studio\android-studio\sdk\tools\lib\monitor-x86_64\Configuration\1415750503312.log

This monitor.bat file is in the android tools folder. If I go from there into lib, then there are two other folders with monitor files in them: monitor-x86, and monitor-x86_64. Both of them have amonitor.exe file in them. Could that be the problem?