Hi, I want to implement application with map So my application works on emulator, but it doesn't work on real device - HTC Hero The application works on Dev Phone 1 and Nexus one
I tried to run Mapdemo Application form samles but it crashed too. Can you help me? Maybe someone had same problem. 03-04 10:59:06.424: WARN/dalvikvm(867): Exception Ljava/lang/ RuntimeException; thrown during Lcom/google/android/maps/ MapActivity;.<clinit> 03-04 10:59:06.424: WARN/dalvikvm(867): Class init failed in newInstance call (Lcom/example/android/apis/view/MapViewCompassDemo;) 03-04 10:59:06.424: DEBUG/AndroidRuntime(867): Shutting down VM 03-04 10:59:06.424: WARN/dalvikvm(867): threadid=3: thread exiting with uncaught exception (group=0x40013140) 03-04 10:59:06.424: ERROR/AndroidRuntime(867): Uncaught handler: thread main exiting due to uncaught exception 03-04 10:59:06.434: ERROR/AndroidRuntime(867): java.lang.ExceptionInInitializerError 03-04 10:59:06.434: ERROR/AndroidRuntime(867): at java.lang.Class.newInstanceImpl(Native Method) 03-04 10:59:06.434: ERROR/AndroidRuntime(867): at java.lang.Class.newInstance(Class.java:1472) 03-04 10:59:06.434: ERROR/AndroidRuntime(867): at android.app.Instrumentation.newActivity(Instrumentation.java:1100) 03-04 10:59:06.434: ERROR/AndroidRuntime(867): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2186) 03-04 10:59:06.434: ERROR/AndroidRuntime(867): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: 2284) 03-04 10:59:06.434: ERROR/AndroidRuntime(867): at android.app.ActivityThread.access$1800(ActivityThread.java:112) 03-04 10:59:06.434: ERROR/AndroidRuntime(867): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692) 03-04 10:59:06.434: ERROR/AndroidRuntime(867): at android.os.Handler.dispatchMessage(Handler.java:99) 03-04 10:59:06.434: ERROR/AndroidRuntime(867): at android.os.Looper.loop(Looper.java:123) 03-04 10:59:06.434: ERROR/AndroidRuntime(867): at android.app.ActivityThread.main(ActivityThread.java:3948) 03-04 10:59:06.434: ERROR/AndroidRuntime(867): at java.lang.reflect.Method.invokeNative(Native Method) 03-04 10:59:06.434: ERROR/AndroidRuntime(867): at java.lang.reflect.Method.invoke(Method.java:521) 03-04 10:59:06.434: ERROR/AndroidRuntime(867): at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:782) 03-04 10:59:06.434: ERROR/AndroidRuntime(867): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540) 03-04 10:59:06.434: ERROR/AndroidRuntime(867): at dalvik.system.NativeStart.main(Native Method) 03-04 10:59:06.434: ERROR/AndroidRuntime(867): Caused by: java.lang.RuntimeException: stub 03-04 10:59:06.434: ERROR/AndroidRuntime(867): at com.google.android.maps.MapActivity.<clinit>(Unknown Source) 03-04 10:59:06.434: ERROR/AndroidRuntime(867): ... 15 more -- 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

