It compiles just fine. Loads into my test device just fine. When I run it it crashes with a "Sorry The application Ear of Bat (process com.fleenlab.LWPA_EarOfBat) has stopped unexpectedly. Please try again." on the device screen and a bunch of "failed resolving" and "link of class failed" followed by a "FATAL EXCEPTION....NoClassDefFound" in logcat.
The JAR is plain old Java that I wrote on Eclipse.
Yes, it's the same problem that so many others have had.
I tried that popular solution (http://android.foxykeep.com/dev/how-to-fix-the-classdefnotfounderror-with-adt-17). I put my JAR in the libs folder. No luck.
I also tried the variant solution : referring to the JAR as an external JAR and setting the "Order and Export" check-box. Still no luck.
I even decompiled the APK (using apktool) to see if the classes were getting packaged up properly. They are.
MORE INFO
Android SDK Tools R21.0.1
Android SDK Platform-tools R16.0.1
Target API 8
Eclipse SDK Version: 3.7.2
Debian Squeeze
I'm stymied. Any clues?
(can't post images yet being a noob so here's the last bit of logcat dump in text form)
11-30 21:30:44.140: W/dalvikvm(926): Link of class 'Lorg/fleen/core/diamondGrammar/Bubble;' failed
11-30 21:30:44.140: W/dalvikvm(926): Unable to match class for part: 'Lorg/fleen/core/diamondGrammar/Bubble;)Ljava/util/List;'
11-30 21:30:44.140: I/dalvikvm(926): Failed resolving Lorg/fleen/core/diamondGrammar/DNode; interface 667 'Ljavax/swing/tree/TreeNode;'
11-30 21:30:44.140: W/dalvikvm(926): Link of class 'Lorg/fleen/core/diamondGrammar/DNode;' failed
11-30 21:30:44.140: I/dalvikvm(926): Failed resolving Lorg/fleen/core/diamondGrammar/Bubble; interface 678 'Lorg/fleen/core/diamondGrammar/DNode;'
11-30 21:30:44.140: W/dalvikvm(926): Link of class 'Lorg/fleen/core/diamondGrammar/Bubble;' failed
11-30 21:30:44.150: W/dalvikvm(926): Unable to match class for part: 'Lorg/fleen/core/diamondGrammar/Bubble;)Ljava/util/List;'
11-30 21:30:44.150: I/dalvikvm(926): Failed resolving Lorg/fleen/core/diamondGrammar/DNode; interface 667 'Ljavax/swing/tree/TreeNode;'
11-30 21:30:44.150: W/dalvikvm(926): Link of class 'Lorg/fleen/core/diamondGrammar/DNode;' failed
11-30 21:30:44.150: I/dalvikvm(926): Failed resolving Lorg/fleen/core/diamondGrammar/Bubble; interface 678 'Lorg/fleen/core/diamondGrammar/DNode;'
11-30 21:30:44.150: W/dalvikvm(926): Link of class 'Lorg/fleen/core/diamondGrammar/Bubble;' failed
11-30 21:30:44.150: W/dalvikvm(926): Unable to match class for part: 'Lorg/fleen/core/diamondGrammar/Bubble;)Ljava/util/List;'
11-30 21:30:44.150: I/dalvikvm(926): Failed resolving Lorg/fleen/core/diamondGrammar/DNode; interface 667 'Ljavax/swing/tree/TreeNode;'
11-30 21:30:44.150: W/dalvikvm(926): Link of class 'Lorg/fleen/core/diamondGrammar/DNode;' failed
11-30 21:30:44.150: I/dalvikvm(926): Failed resolving Lorg/fleen/core/diamondGrammar/Bubble; interface 678 'Lorg/fleen/core/diamondGrammar/DNode;'
11-30 21:30:44.150: W/dalvikvm(926): Link of class 'Lorg/fleen/core/diamondGrammar/Bubble;' failed
11-30 21:30:44.190: W/dalvikvm(926): Unable to match class for part: 'Lorg/fleen/core/diamondGrammar/Bubble;)Ljava/util/List;'
11-30 21:30:44.190: I/dalvikvm(926): Failed resolving Lorg/fleen/core/diamondGrammar/DNode; interface 667 'Ljavax/swing/tree/TreeNode;'
11-30 21:30:44.190: W/dalvikvm(926): Link of class 'Lorg/fleen/core/diamondGrammar/DNode;' failed
11-30 21:30:44.190: I/dalvikvm(926): Failed resolving Lorg/fleen/core/diamondGrammar/Bubble; interface 678 'Lorg/fleen/core/diamondGrammar/DNode;'
11-30 21:30:44.190: W/dalvikvm(926): Link of class 'Lorg/fleen/core/diamondGrammar/Bubble;' failed
11-30 21:30:44.190: W/dalvikvm(926): Unable to match class for part: 'Lorg/fleen/core/diamondGrammar/Bubble;)Ljava/util/List;'
11-30 21:30:44.240: D/dalvikvm(926): GC_CONCURRENT freed 634K, 53% free 2792K/5831K, external 716K/1038K, paused 2ms+4ms
11-30 21:30:44.560: D/dalvikvm(926): GC_CONCURRENT freed 368K, 51% free 2874K/5831K, external 716K/1038K, paused 2ms+2ms
11-30 21:30:44.660: W/dalvikvm(926): threadid=9: thread exiting with uncaught exception (group=0x40082560)
11-30 21:30:44.660: E/AndroidRuntime(926): FATAL EXCEPTION: Thread-10
11-30 21:30:44.660: E/AndroidRuntime(926): java.lang.NoClassDefFoundError: org.fleen.core.diamondGrammar.Grid
11-30 21:30:44.660: E/AndroidRuntime(926): at com.fleenlab.LWPA_EarOfBat.LoopingTunnelFlowVFrameBlock_TF0000_Tight.initRootAndCore(LoopingTunnelFlowVFrameBlock_TF0000_Tight.java:90)
11-30 21:30:44.660: E/AndroidRuntime(926): at org.fleen.loopingTunnelFlowVFrameSequence.LoopingTunnelFlowVFrameBlock_Abstract.<init>(LoopingTunnelFlowVFrameBlock_Abstract.java:100)
11-30 21:30:44.660: E/AndroidRuntime(926): at com.fleenlab.LWPA_EarOfBat.LoopingTunnelFlowVFrameBlock_TF0000_Tight.<init>(LoopingTunnelFlowVFrameBlock_TF0000_Tight.java:43)
11-30 21:30:44.660: E/AndroidRuntime(926): at com.fleenlab.LWPA_EarOfBat.LoopingTunnelFlowVFrameSeq_Tight.getBlock(LoopingTunnelFlowVFrameSeq_Tight.java:17)
11-30 21:30:44.660: E/AndroidRuntime(926): at com.fleenlab.LWPA_EarOfBat.LoopingTunnelFlowVFrameSeq_Tight.<init>(LoopingTunnelFlowVFrameSeq_Tight.java:14)
11-30 21:30:44.660: E/AndroidRuntime(926): at com.fleenlab.LWPA_EarOfBat.Generator.getSeq(Generator.java:110)
11-30 21:30:44.660: E/AndroidRuntime(926): at com.fleenlab.LWPA_EarOfBat.Generator$Initializer.run(Generator.java:78)
It was a dependencies thing. Grid was dependent on TreeNode, which is in Swing, which wasn't in the JAR. My solution was to get rid of TreeNode. Didn't really need it anyway. Works fine now.
I know that logcat said that the NoClassDefFound happened at Grid, but the problem wasn't actually a missing Grid class def, it was a missing def for a class to which Grid was referring.
Related
Its on an HTC Aria, running 2.2 (API 8)
https://en.wikipedia.org/wiki/HTC_Aria
The aria is an armv6 device that supports opengles 2
If you open up the latest Android Studio (im working on windows 7), then import the HelloGL2 sample, then simply try to run it on the above device, it will fail as soon as it tries to make a call into the native library.
Here is the log:
01-06 11:14:08.467 12771-12813/com.android.gl2jni D/dalvikvm: Trying to load lib /data/data/com.android.gl2jni/lib/libgl2jni.so 0x44c165d0
01-06 11:14:08.467 12771-12813/com.android.gl2jni I/dalvikvm: Unable to dlopen(/data/data/com.android.gl2jni/lib/libgl2jni.so): Cannot load library: link_image[1995]: failed to link libgl2jni.so
01-06 11:14:08.477 12771-12813/com.android.gl2jni W/dalvikvm: Exception Ljava/lang/UnsatisfiedLinkError; thrown during Lcom/android/gl2jni/GL2JNILib;.<clinit>
01-06 11:14:08.497 12771-12813/com.android.gl2jni W/dalvikvm: threadid=8: thread exiting with uncaught exception (group=0x40028a00)
01-06 11:14:08.517 95-121/? I/ActivityManager: Displayed activity com.android.gl2jni/.GL2JNIActivity: 9823 ms (total 2027818 ms)
01-06 11:14:08.567 12771-12813/com.android.gl2jni E/AndroidRuntime: FATAL EXCEPTION: GLThread 9
java.lang.ExceptionInInitializerError
at com.android.gl2jni.GL2JNIView$Renderer.onSurfaceChanged(GL2JNIView.java:332)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1327)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1118)
Caused by: java.lang.UnsatisfiedLinkError: Library gl2jni not found
at java.lang.Runtime.loadLibrary(Runtime.java:461)
at java.lang.System.loadLibrary(System.java:557)
at com.android.gl2jni.GL2JNILib.<clinit>(GL2JNILib.java:24)
at com.android.gl2jni.GL2JNIView$Renderer.onSurfaceChanged(GL2JNIView.java:332)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1327)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1118)
01-06 11:14:08.607 95-164/? W/ActivityManager: Force finishing activity com.android.gl2jni/.GL2JNIActivity
This sample works on the 3 other devices i've tried (Galaxy s5, Galaxy J1, Nexus s)
The line: 'Unable to dlopen(/data/data/com.android.gl2jni/lib/libgl2jni.so): Cannot load library: link_image[1995]: failed to link libgl2jni.so' is probably key. I tried loading the library explicitly using system.loadlibrary, but the same problem happens on that call.
I think it might be something to do with the processor being armv6?
The sample is configured to do 'armeabi' though.
I tried setting up my project using instructions on below post by Diego:
http://dtmilano.blogspot.com/2011/11/obtaining-code-coverage-of-running.html
On trying to launch the app using adb shell am instrument -e coverage true -w ...
I get below error:
E/Trace ( 3989): error opening trace file: No such file or directory (2)
W/Trace ( 3989): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 3989): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 3989): Unexpected value from nativeGetEnabledTags: 0
I/dalvikvm( 3989): ****Could not find method com.vladium.emma.rt.RT.r, referenced from method com.adobe.dps.coverage.EmmaInstrumentation.$VRi
W/dalvikvm( 3989): VFY: unable to resolve static method 27137: Lcom/vladium/emma/rt/RT;.r ([[ZLjava/lang/String;J)V
D/dalvikvm( 3989): VFY: replacing opcode 0x71 at 0x004b
W/dalvikvm( 3989): Exception Ljava/lang/NoClassDefFoundError; thrown while initializing Lcom/adobe/dps/coverage/EmmaInstrumentation;
W/dalvikvm( 3989): Class init failed in newInstance call (Lcom/adobe/dps/coverage/EmmaInstrumentation;)
D/AndroidRuntime( 3989): Shutting down VM
W/dalvikvm( 3989): threadid=1: thread exiting with uncaught exception (group=0xb4cc7908)
E/AndroidRuntime( 3989): FATAL EXCEPTION: main
E/AndroidRuntime( 3989): java.lang.ExceptionInInitializerError
I included emma.jar in the build path and deployed it inside the app and got below error:
E/Trace ( 4061): error opening trace file: No such file or directory (2)
W/Trace ( 4061): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 4061): Unexpected value from nativeGetEnabledTags: 0
W/Trace ( 4061): Unexpected value from nativeGetEnabledTags: 0
W/dalvikvm( 4061): ****Exception Ljava/lang/Error; thrown while initializing Lcom/vladium/emma/rt/RT;
W/dalvikvm( 4061): Exception Ljava/lang/ExceptionInInitializerError; thrown while initializing Lcom/package/coverage/EmmaInstrumentation;
W/dalvikvm( 4061): Class init failed in newInstance call (Lcom/package/coverage/EmmaInstrumentation;)
D/AndroidRuntime( 4061): Shutting down VM
W/dalvikvm( 4061): threadid=1: thread exiting with uncaught exception (group=0xb4cc7908)
E/AndroidRuntime( 4061): FATAL EXCEPTION: main
E/AndroidRuntime( 4061): java.lang.ExceptionInInitializerError
E/AndroidRuntime( 4061): at java.lang.Class.newInstanceImpl(Native Method)
Any idea how I could resolve this?
Thanks!
It seems you should execute this command:
"ant instrument"
because you have such an error info: ****Could not find method com.vladium.emma.rt.RT.r
Below link helped me to resolve the issue. I am using so added the below dependencies:
Added the below dependency in the build.gradle file present in the app folder.
compile group: 'org.jruby', name: 'jruby', version: '1.4.1'
And the below dependency in the build.gradle file present at the project folder.
maven {
url "https://repo1.maven.org/maven2/"
}
Choose your dependency from the below link:
http://snacktrace.com/artifacts/org.jruby/jruby/1.4.1/com.vladium.emma.rt.RT
My program is crashing with a
03-05 02:21:57.127: E/dalvikvm(12583): Could not find class 'com.deerandcatgames.spikeJumper.GUI.OuyaTable$1', referenced from method com.deerandcatgames.spikeJumper.GUI.OuyaTable.<init>
Whenever I run it on android, from the desktop project, it runs fine.
I look at the logcat, and I find the following errors:
03-05 02:21:56.907: I/SpikeJumper(12583): Showing screen: SplashScreen
03-05 02:21:56.957: D/dalvikvm(12583): GC_FOR_ALLOC freed 23K, 5% free 7525K/7920K, paused 37ms, total 37ms
03-05 02:21:57.127: W/dalvikvm(12583): Unable to resolve superclass of Lcom/deerandcatgames/spikeJumper/GUI/OuyaTable$1; (347)
03-05 02:21:57.127: W/dalvikvm(12583): Link of class 'Lcom/deerandcatgames/spikeJumper/GUI/OuyaTable$1;' failed
03-05 02:21:57.127: E/dalvikvm(12583): Could not find class 'com.deerandcatgames.spikeJumper.GUI.OuyaTable$1', referenced from method com.deerandcatgames.spikeJumper.GUI.OuyaTable.<init>
03-05 02:21:57.127: W/dalvikvm(12583): VFY: unable to resolve new-instance 992 (Lcom/deerandcatgames/spikeJumper/GUI/OuyaTable$1;) in Lcom/deerandcatgames/spikeJumper/GUI/OuyaTable;
03-05 02:21:57.127: D/dalvikvm(12583): VFY: replacing opcode 0x22 at 0x0016
03-05 02:21:57.127: I/dalvikvm(12583): Could not find method com.badlogic.gdx.controllers.Controllers.removeListener, referenced from method com.deerandcatgames.spikeJumper.GUI.OuyaTable.dispose
03-05 02:21:57.127: W/dalvikvm(12583): VFY: unable to resolve static method 2760: Lcom/badlogic/gdx/controllers/Controllers;.removeListener (Lcom/badlogic/gdx/controllers/ControllerListener;)V
03-05 02:21:57.127: D/dalvikvm(12583): VFY: replacing opcode 0x71 at 0x0007
03-05 02:21:57.127: W/dalvikvm(12583): Unable to resolve superclass of Lcom/deerandcatgames/spikeJumper/GUI/OuyaTable$1; (347)
03-05 02:21:57.127: W/dalvikvm(12583): Link of class 'Lcom/deerandcatgames/spikeJumper/GUI/OuyaTable$1;' failed
03-05 02:21:57.137: D/dalvikvm(12583): DexOpt: unable to opt direct call 0x26b5 at 0x18 in Lcom/deerandcatgames/spikeJumper/GUI/OuyaTable;.<init>
03-05 02:21:57.187: D/dalvikvm(12583): GC_CONCURRENT freed 399K, 8% free 7578K/8236K, paused 3ms+5ms, total 29ms
03-05 02:21:57.257: I/SpikeJumper(12583): Setting up custom table
03-05 02:21:57.257: W/dalvikvm(12583): threadid=11: thread exiting with uncaught exception (group=0x418a3930)
03-05 02:21:57.257: E/AndroidRuntime(12583): FATAL EXCEPTION: GLThread 19356
03-05 02:21:57.257: E/AndroidRuntime(12583): java.lang.NoClassDefFoundError: com.deerandcatgames.spikeJumper.GUI.OuyaTable$1
03-05 02:21:57.257: E/AndroidRuntime(12583): at com.deerandcatgames.spikeJumper.GUI.OuyaTable.<init>(OuyaTable.java:72)
03-05 02:21:57.257: E/AndroidRuntime(12583): at com.deerandcatgames.spikeJumper.screens.AbstractScreen.getTable(AbstractScreen.java:84)
03-05 02:21:57.257: E/AndroidRuntime(12583): at com.deerandcatgames.spikeJumper.screens.AbstractScreen.resize(AbstractScreen.java:52)
03-05 02:21:57.257: E/AndroidRuntime(12583): at com.deerandcatgames.spikeJumper.screens.SplashScreen.resize(SplashScreen.java:49)
03-05 02:21:57.257: E/AndroidRuntime(12583): at com.badlogic.gdx.Game.setScreen(Game.java:63)
03-05 02:21:57.257: E/AndroidRuntime(12583): at com.deerandcatgames.spikeJumper.SpikeJumper.setScreen(SpikeJumper.java:61)
03-05 02:21:57.257: E/AndroidRuntime(12583): at com.deerandcatgames.spikeJumper.SpikeJumper.resize(SpikeJumper.java:79)
03-05 02:21:57.257: E/AndroidRuntime(12583): at com.badlogic.gdx.backends.android.AndroidGraphics.onSurfaceChanged(AndroidGraphics.java:334)
03-05 02:21:57.257: E/AndroidRuntime(12583): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1505)
03-05 02:21:57.257: E/AndroidRuntime(12583): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)
The OuyaTable is
public class OuyaTable extends Table {
....
}
I have tried everything I can think of, and it still will not run on the android. Has anyone seen this before, and/or knows how to fix it?
Okay, trying again but paying more attention to the error messages... I see:
Could not find method com.badlogic.gdx.controllers.Controllers.removeListener, referenced from method com.deerandcatgames.spikeJumper.GUI.OuyaTable.dispose
As one of the reasons the link failed. I think you must be using the libgdx "controllers" extension ... you need to add the gdx-controllers-android.jar. See the "Integration Into Your Project" section of the badlogic blog: http://www.badlogicgames.com/wordpress/?p=2724
The gdx.jar (which contains the platform-independent Libgdx classes) probably didn't get packaged into your Android .APK. (Versus the Android-specific Libgdx classes which are packaged in gdx-backend-android.jar and did seem to make it into your .APK.)
You need to make sure your Android project is exporting the gdx.jar. Right-click on your Android project in Project Explorer, select Properties, select Java Build Path, and select the Order and Export tab. Make sure gdx.jar and gdx-backend-android.jar are both "checked" (along with your common project).
java=caca, adt=caca, eclipse=.....
I 've had this problem, solved changing the main project (star-assault in the tutorial) from java 1.7 to java 1.6 after getting mad for couple of hours...
I am trying to run a simple OpenGL program in Android. I am running this in an Android 4.1 emulator. I switched on its GPU emulation and it worked fine yesterday. When I ran that today, initially it was hanging saying, OpenGL taking time to render - Wait or Close dialog box. After few runs again it was crashing saying
E/EGL_emulation(2637): Failed to establish connection with the host
followed by
11-30 11:48:10.787: E/AndroidRuntime(2637): FATAL EXCEPTION: main
11-30 11:48:10.787: E/AndroidRuntime(2637): java.lang.IllegalArgumentException: eglChooseConfig failed EGL_NOT_INITIALIZED
11-30 11:48:10.787: E/AndroidRuntime(2637): at android.view.HardwareRenderer$GlRenderer.chooseEglConfig(HardwareRenderer.java:852)
11-30 11:48:10.787: E/AndroidRuntime(2637): at android.view.HardwareRenderer$GlRenderer.initializeEgl(HardwareRenderer.java:804)
11-30 11:48:10.787: E/AndroidRuntime(2637): at android.view.HardwareRenderer$GlRenderer.initialize(HardwareRenderer.java:747)
11-30 11:48:10.787: E/AndroidRuntime(2637): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1505)
11-30 11:48:10.787: E/AndroidRuntime(2637): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:998)
11-30 11:48:10.787: E/AndroidRuntime(2637): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4212)
I guess the emulator is not able to take control of the GPU of the system, so how do I avoid this error? How do I rectify this problem?
Thanks in advance. :)
This happens to me when my computer came out standby. Restart your virtual device.
I was having the same problem in my Genymotion emulator while running a webview based application,I have restarted the emulator and it worked fine
I am trying to run the simplest Hello World example app and looks like I can crash it even all it does is showing a TextView.
Steps to reproduce: Launch it in the emulator (1.5). Open the app - it shows the text view, then lock the phone by pressing "end call" button. Unlock by pressing "menu", then press "back". App crashes with "The process android.process.acore has stopped unexpectedly..." and Force Close button. It does not happen all the time, but I am able to reproduce it every time after wiping the user data at least.
I wonder if default Hello World is missing a detail which was considered too advanced for a hello world... Such problems with a basic example does not look very encouraging =)
Any idea what detail is missing and how to avoid this crash?
Stack (I've truncated timestamps):
37.478: DEBUG/KeyguardViewMediator(576): wakeWhenReadyLocked(82)
37.481: DEBUG/KeyguardViewMediator(576): handleWakeWhenReady(82)
37.481: DEBUG/KeyguardViewMediator(576): pokeWakelock(5000)
39.110: DEBUG/KeyguardViewMediator(576): pokeWakelock(5000)
39.140: WARN/InputManagerService(576): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy#436e3fc0
40.990: ERROR/IMemory(679): binder=0x238aa8 transaction failed fd=-2147483647, size=0, err=-2147483646 (Unknown error: 2147483646)
40.990: ERROR/IMemory(679): cannot dup fd=-2147483647, size=0, err=-2147483646 (Bad file number)
40.990: ERROR/IMemory(679): cannot map BpMemoryHeap (binder=0x238aa8), size=0, fd=-1 (Bad file number)
40.990: ERROR/Surface(679): Couldn't map Surface's heap (binder=0x238aa8, heap=0x238b00)
40.990: DEBUG/AndroidRuntime(679): Shutting down VM
40.990: WARN/dalvikvm(679): threadid=3: thread exiting with uncaught exception (group=0x4000fe70)
40.990: ERROR/AndroidRuntime(679): Uncaught handler: thread main exiting due to uncaught exception
40.990: ERROR/AndroidRuntime(679): java.lang.IllegalArgumentException
40.990: ERROR/AndroidRuntime(679): at android.view.Surface.lockCanvasNative(Native Method)
40.990: ERROR/AndroidRuntime(679): at android.view.Surface.lockCanvas(Surface.java:196)
40.990: ERROR/AndroidRuntime(679): at android.view.ViewRoot.draw(ViewRoot.java:1175)
40.990: ERROR/AndroidRuntime(679): at android.view.ViewRoot.performTraversals(ViewRoot.java:1030)
40.990: ERROR/AndroidRuntime(679): at android.view.ViewRoot.handleMessage(ViewRoot.java:1482)
40.990: ERROR/AndroidRuntime(679): at android.os.Handler.dispatchMessage(Handler.java:99)
40.990: ERROR/AndroidRuntime(679): at android.os.Looper.loop(Looper.java:123)
40.990: ERROR/AndroidRuntime(679): at android.app.ActivityThread.main(ActivityThread.java:3948)
40.990: ERROR/AndroidRuntime(679): at java.lang.reflect.Method.invokeNative(Native Method)
40.990: ERROR/AndroidRuntime(679): at java.lang.reflect.Method.invoke(Method.java:521)
40.990: ERROR/AndroidRuntime(679): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:782)
40.990: ERROR/AndroidRuntime(679): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
40.990: ERROR/AndroidRuntime(679): at dalvik.system.NativeStart.main(Native Method)
41.000: INFO/Process(576): Sending signal. PID: 679 SIG: 3
41.000: INFO/dalvikvm(679): threadid=7: reacting to signal 3
41.030: ERROR/ActivityThread(576): Failed to find provider info for android.server.checkin
41.030: ERROR/Checkin(576): Error reporting crash: java.lang.IllegalArgumentException: Unknown URL content://android.server.checkin/crashes
41.070: INFO/dalvikvm(679): Wrote stack trace to '/data/anr/traces.txt'
50.940: WARN/ActivityManager(576): Launch timeout has expired, giving up wake lock!
50.980: WARN/ActivityManager(576): Activity idle timeout for HistoryRecord{4366ac40 {com.android.launcher/com.android.launcher.Launcher}}
sounds to me more like something wrong with your emulator. Why dont you delete your emulator and create a new one and try again with a fresh project.
Hope that will help you. BTW why are you using emulator on 1.5?? Start to build applications for min 2.1.
Good luck.