Hello, I'm trying to run/debug the "Hello World" application on my G1 using Eclipse, and I'm having a little trouble with it. My phone is attached to my (Windows) machine via USB and it is recognized by DDMS. Whenever I try to run the application, I would receive the following messages in Eclipse:
Android Launch! adb is running normally. No Launcher activity found! The launch will only sync the application package on the device! Performing sync Automatic Target Mode: Unable to detect device compatibility. Please select a target device. Application already deployed. No need to reinstall. \xxx.apk installed on device Done! At this point nothing shows up on my phone and DDMS reports a "thread attach failed" error, which I believe is the cause of the problem. Are there any way to fix this problem? Thanks! Log captured: D/AndroidRuntime( 1806): CheckJNI is OFF D/AndroidRuntime( 1806): --- registering native functions --- D/ddm-heap( 1806): Got feature list request D/AndroidRuntime( 1806): Shutting down VM D/dalvikvm( 1806): DestroyJavaVM waiting for non-daemon threads to exit D/dalvikvm( 1806): DestroyJavaVM shutting VM down D/dalvikvm( 1806): HeapWorker thread shutting down D/dalvikvm( 1806): HeapWorker thread has shut down E/AndroidRuntime( 1806): ERROR: thread attach failed I/dalvikvm( 1806): Debugger has detached; object registry had 1 entries D/dalvikvm( 1806): VM cleaning up D/dalvikvm( 1806): LinearAlloc 0x0 used 630892 of 5242880 (12%) -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

