I'm working with the HelloGoogleMaps tutorial on the Android Developers' Resource page (http://developer.android.com/resources/tutorials/views/hello-mapview.html) and when I run part 1 of the application ("Creating a Map Activity") on my emulator, I get the message "The application HelloGoogleMaps (process com.example) has stopped unexpectedly. Please try again." I'm pretty sure that I followed all of the instructions correctly, however I'm not sure that I set up my emulator environment correctly. Can anyone please help me figure out what's going on? Thanks.
Here's the output from logcat:
I/ActivityManager( 63): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.example/.HelloGoogleMaps } I/ActivityManager( 63): Start proc com.example for activity com.example/.HelloGoogleMaps: pid=344 uid=10026 gids={3003, 1015} D/ddm-heap( 344): Got feature list request W/dalvikvm( 344): Class resolved by unexpected DEX: Lcom/example/HelloGoogleMaps;(0x43d02e18):0x11fbb0 ref [Lcom/google/android/maps/MapActivity;] Lcom/google/android/maps/MapActivity;(0x43d02e18):0x11f510 W/dalvikvm( 344): (Lcom/example/HelloGoogleMaps; had used a different Lcom/google/android/maps/MapActivity; during pre-verification) W/dalvikvm( 344): Unable to resolve superclass of Lcom/example/HelloGoogleMaps; (41) W/dalvikvm( 344): Link of class 'Lcom/example/HelloGoogleMaps;' failed D/AndroidRuntime( 344): Shutting down VM W/dalvikvm( 344): threadid=3: thread exiting with uncaught exception (group=0x4001b188) E/AndroidRuntime( 344): Uncaught handler: thread main exiting due to uncaught exception E/AndroidRuntime( 344): java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation E/AndroidRuntime( 344): at dalvik.system.DexFile.defineClass(Native Method) E/AndroidRuntime( 344): at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:209) E/AndroidRuntime( 344): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:203) E/AndroidRuntime( 344): at java.lang.ClassLoader.loadClass(ClassLoader.java:573) E/AndroidRuntime( 344): at java.lang.ClassLoader.loadClass(ClassLoader.java:532) E/AndroidRuntime( 344): at android.app.Instrumentation.newActivity(Instrumentation.java:1021) E/AndroidRuntime( 344): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2409) E/AndroidRuntime( 344): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512) E/AndroidRuntime( 344): at android.app.ActivityThread.access$2200(ActivityThread.java:119) E/AndroidRuntime( 344): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863) E/AndroidRuntime( 344): at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime( 344): at android.os.Looper.loop(Looper.java:123) E/AndroidRuntime( 344): at android.app.ActivityThread.main(ActivityThread.java:4363) E/AndroidRuntime( 344): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime( 344): at java.lang.reflect.Method.invoke(Method.java:521) E/AndroidRuntime( 344): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860) E/AndroidRuntime( 344): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618) E/AndroidRuntime( 344): at dalvik.system.NativeStart.main(Native Method) I/Process ( 63): Sending signal. PID: 344 SIG: 3 I/dalvikvm( 344): threadid=7: reacting to signal 3 E/dalvikvm( 344): Unable to open stack trace file '/data/anr/traces.txt': Permission denied W/ActivityManager( 63): Launch timeout has expired, giving up wake lock! W/ActivityManager( 63): Activity idle timeout for HistoryRecord{43dc9818 com.example/.HelloGoogleMaps} D/dalvikvm( 143): GC freed 2317 objects / 132032 bytes in 107ms