Skip to main content



      Home
Home » Newcomers » Newcomers » Eclipse ADT hangs Windows 7 64 bit
Eclipse ADT hangs Windows 7 64 bit [message #548789] Thu, 22 July 2010 23:59 Go to next message
Eclipse UserFriend
Alright, so I've spent the past few days reading just about every online tutorial I could find and I've still got problems.

I've done the basic Hello, Android example using the ADT plugin in Eclipse Galileo (3.5). I'm running on a 64 bit Windows 7 with an Intel i7 processor and 8 gb of RAM. I've gotten the thing running in the Android simulator just fine but am now randomly running into hangs and crashes while editing in Eclipse.

Everything works for awhile, but eventually when navigating around the project tree in Eclipse it will start to hang and become unresponsive until I kill the program. It varies in when this happens, but so far it's happened when I try to run the simulator, when I try to open the only Java class in the src folder, when I try to open the main.xml under the res/layout folder, and when trying to open the strings.xml file under the res/values folder.

I've double checked about a million times that I'm using the 64 bit JDK as well as the 64 bit version of Eclipse. I'm about to tear my hair out so could use some help. I've pasted my ini file below as well as the log file from the most recent hangup. Thanks in advance for any help.

eclipse.ini:

-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715. jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.0. 200.v20090519
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
-vm
C:\Program Files\Java\jdk1.6.0_21\bin\javaw.exe
-vmargs
-Xms80m
-Xmx512m

log file:

!SESSION 2010-07-22 22:32:41.252 -----------------------------------------------
eclipse.buildId=M20100211-1343
java.version=1.6.0_21
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64

!ENTRY org.eclipse.core.resources 8 2 2010-07-22 22:32:46.755
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
!STACK 1
org.eclipse.core.runtime.CoreException: Project target not loaded yet.
at com.android.ide.eclipse.adt.internal.build.BaseBuilder.stopB uild(Unknown Source)
at com.android.ide.eclipse.adt.internal.build.BaseBuilder.abort OnBadSetup(Unknown Source)
at com.android.ide.eclipse.adt.internal.build.ResourceManagerBu ilder.build(Unknown Source)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildMan ager.java:627)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:170)
at org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:201)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildMan ager.java:253)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:256)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop (BuildManager.java:309)
at org.eclipse.core.internal.events.BuildManager.build(BuildMan ager.java:341)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBu ildJob.java:140)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJ ob.java:238)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!SUBENTRY 1 com.android.ide.eclipse.adt 8 0 2010-07-22 22:32:46.756
!MESSAGE Project target not loaded yet.
!SUBENTRY 1 com.android.ide.eclipse.adt 8 0 2010-07-22 22:32:46.756
!MESSAGE Project target not loaded yet.

!ENTRY org.eclipse.core.resources 8 2 2010-07-22 22:32:46.768
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
!STACK 1
org.eclipse.core.runtime.CoreException: Project target not loaded yet.
at com.android.ide.eclipse.adt.internal.build.BaseBuilder.stopB uild(Unknown Source)
at com.android.ide.eclipse.adt.internal.build.BaseBuilder.abort OnBadSetup(Unknown Source)
at com.android.ide.eclipse.adt.internal.build.PreCompilerBuilde r.build(Unknown Source)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildMan ager.java:627)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:170)
at org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:201)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildMan ager.java:253)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:256)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop (BuildManager.java:309)
at org.eclipse.core.internal.events.BuildManager.build(BuildMan ager.java:341)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBu ildJob.java:140)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJ ob.java:238)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!SUBENTRY 1 com.android.ide.eclipse.adt 8 0 2010-07-22 22:32:46.768
!MESSAGE Project target not loaded yet.
!SUBENTRY 1 com.android.ide.eclipse.adt 8 0 2010-07-22 22:32:46.768
!MESSAGE Project target not loaded yet.

!ENTRY org.eclipse.core.resources 8 2 2010-07-22 22:32:47.336
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
!STACK 1
org.eclipse.core.runtime.CoreException: Project target not loaded yet.
at com.android.ide.eclipse.adt.internal.build.BaseBuilder.stopB uild(Unknown Source)
at com.android.ide.eclipse.adt.internal.build.BaseBuilder.abort OnBadSetup(Unknown Source)
at com.android.ide.eclipse.adt.internal.build.ResourceManagerBu ilder.build(Unknown Source)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildMan ager.java:627)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:170)
at org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:201)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildMan ager.java:253)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:256)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop (BuildManager.java:309)
at org.eclipse.core.internal.events.BuildManager.build(BuildMan ager.java:341)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBu ildJob.java:140)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJ ob.java:238)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!SUBENTRY 1 com.android.ide.eclipse.adt 8 0 2010-07-22 22:32:47.336
!MESSAGE Project target not loaded yet.
!SUBENTRY 1 com.android.ide.eclipse.adt 8 0 2010-07-22 22:32:47.336
!MESSAGE Project target not loaded yet.

!ENTRY org.eclipse.core.resources 8 2 2010-07-22 22:32:47.339
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
!STACK 1
org.eclipse.core.runtime.CoreException: Project target not loaded yet.
at com.android.ide.eclipse.adt.internal.build.BaseBuilder.stopB uild(Unknown Source)
at com.android.ide.eclipse.adt.internal.build.BaseBuilder.abort OnBadSetup(Unknown Source)
at com.android.ide.eclipse.adt.internal.build.PreCompilerBuilde r.build(Unknown Source)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildMan ager.java:627)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:170)
at org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:201)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildMan ager.java:253)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(Bui ldManager.java:256)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop (BuildManager.java:309)
at org.eclipse.core.internal.events.BuildManager.build(BuildMan ager.java:341)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBu ildJob.java:140)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJ ob.java:238)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!SUBENTRY 1 com.android.ide.eclipse.adt 8 0 2010-07-22 22:32:47.339
!MESSAGE Project target not loaded yet.
!SUBENTRY 1 com.android.ide.eclipse.adt 8 0 2010-07-22 22:32:47.339
!MESSAGE Project target not loaded yet.

!ENTRY org.eclipse.ui 4 0 2010-07-22 22:36:12.903
!MESSAGE Unhandled event loop exception
Re: Eclipse ADT hangs Windows 7 64 bit [message #548912 is a reply to message #548789] Fri, 23 July 2010 09:14 Go to previous messageGo to next message
Eclipse UserFriend
On 7/22/2010 9:59 PM, Zack wrote:
> Alright, so I've spent the past few days reading just about every online
> tutorial I could find and I've still got problems.
> I've done the basic Hello, Android example using the ADT plugin in
> Eclipse Galileo (3.5). I'm running on a 64 bit Windows 7 with an Intel
> i7 processor and 8 gb of RAM. I've gotten the thing running in the
> Android simulator just fine but am now randomly running into hangs and
> crashes while editing in Eclipse.
> Everything works for awhile, but eventually when navigating around the
> project tree in Eclipse it will start to hang and become unresponsive
> until I kill the program. It varies in when this happens, but so far
> it's happened when I try to run the simulator, when I try to open the
> only Java class in the src folder, when I try to open the main.xml under
> the res/layout folder, and when trying to open the strings.xml file
> under the res/values folder.
>
> I've double checked about a million times that I'm using the 64 bit JDK
> as well as the 64 bit version of Eclipse. I'm about to tear my hair out
> so could use some help. I've pasted my ini file below as well as the log
> file from the most recent hangup. Thanks in advance for any help.
> eclipse.ini:
> -startup
> plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715. jar
> --launcher.library
> plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.0. 200.v20090519
> -showsplash
> org.eclipse.platform
> --launcher.XXMaxPermSize
> 512m
> -vm
> C:\Program Files\Java\jdk1.6.0_21\bin\javaw.exe <<<<<<<<<<<<<<<<<<<<<<
> -vmargs
> -Xms80m
> -Xmx512m
>
> [snip]

Did you see the announcement at the top of the forum list?

http://www.eclipse.org/forums/index.php?t=msg&th=171988& amp;start=0&

Don't use JDK build 21 on Windows.
Re: Eclipse ADT hangs Windows 7 64 bit [message #649859 is a reply to message #548912] Thu, 20 January 2011 13:34 Go to previous messageGo to next message
Eclipse UserFriend
I installed jdk-6u23-windows-i586 and I have the same issue (auto-completion take a long time to show up, about 10 to 15 sec.) My previous version of jdk was jdk-6u10-windows-i586-p.exe (and I had the same issue). I'm using eclipse 3.6.1
Re: Eclipse ADT hangs Windows 7 64 bit [message #650174 is a reply to message #649859] Sat, 22 January 2011 06:59 Go to previous message
Eclipse UserFriend
In fact, the slow auto-complete issue is on the android classes.
I found this fix that completely resolves my issue.

You just need to put the android source files in the sdk folder.

see the full solution here:
http://envyandroid.com/archives/66/slow-android-autocomplete -eclipse-helios-36
Previous Topic:Migration from Visual studio 2010 to Eclipse
Next Topic:Difficult to read text in Java Eclipse quick fix GUI
Goto Forum:
  


Current Time: Fri Nov 07 22:14:19 EST 2025

Powered by FUDForum. Page generated in 0.09406 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top