"Unable to resolve superclass of HelloMapView" could mean anything,
but did you make sure to subclass HelloMapView from Activity? Is
Eclipse properly set up with the SDK?

This may not be relevant, but the HelloMapView tutorial uses the
deprecated MapView.GetZoomControls() API. To fix it:

Step #7 – No longer needed
Step #8 – The “ZoomControls mZoom;” variable is no longer needed
Step #9 – Replace three lines of code with
        mapView = (MapView) findViewById(R.id.mapview);
mapView.setBuiltInZoomControls(true);
Step #10 – No longer needed


Yusuf Saib
Android
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.



On Jul 21, 1:39 am, Neilz <neilhorn...@googlemail.com> wrote:
> Here's my Logcat output... there is an error, but it doesn't mean very
> much to me!
>
> 07-21 08:39:03.489: WARN/dalvikvm(728): Class resolved by unexpected
> DEX: Lcom/test/android/stuff/HelloMapView;(0x43597748):0x192368 ref
> [Lcom/google/android/maps/MapActivity;] Lcom/google/android/maps/
> MapActivity;(0x43597748):0x1883f0
> 07-21 08:39:03.500: WARN/dalvikvm(728): Unable to resolve superclass
> of Lcom/test/android/stuff/HelloMapView; (41)
> 07-21 08:39:03.510: WARN/dalvikvm(728): Link of class 'Lcom/test/
> android/stuff/HelloMapView;' failed
> 07-21 08:39:03.520: DEBUG/AndroidRuntime(728): Shutting down VM
> 07-21 08:39:03.540: WARN/dalvikvm(728): threadid=3: thread exiting
> with uncaught exception (group=0x4000fe70)
> 07-21 08:39:03.549: ERROR/AndroidRuntime(728): Uncaught handler:
> thread main exiting due to uncaught exception
> 07-21 08:39:03.589: ERROR/AndroidRuntime(728):
> java.lang.IllegalAccessError: cross-loader access from pre-verified
> class
> 07-21 08:39:03.589: ERROR/AndroidRuntime(728):     at
> dalvik.system.DexFile.defineClass(Native Method)
> 07-21 08:39:03.589: ERROR/AndroidRuntime(728):     at
> dalvik.system.DexFile.loadClass(DexFile.java:193)
> 07-21 08:39:03.589: ERROR/AndroidRuntime(728):     at
> dalvik.system.PathClassLoader.findClass(PathClassLoader.java:203)
> 07-21 08:39:03.589: ERROR/AndroidRuntime(728):     at
> java.lang.ClassLoader.loadClass(ClassLoader.java:573)
> 07-21 08:39:03.589: ERROR/AndroidRuntime(728):     at
> java.lang.ClassLoader.loadClass(ClassLoader.java:532)
> 07-21 08:39:03.589: ERROR/AndroidRuntime(728):     at
> android.app.Instrumentation.newActivity(Instrumentation.java:1097)
> 07-21 08:39:03.589: ERROR/AndroidRuntime(728):     at
> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
> 2186)
> 07-21 08:39:03.589: ERROR/AndroidRuntime(728):     at
> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
> 2284)
> 07-21 08:39:03.589: ERROR/AndroidRuntime(728):     at
> android.app.ActivityThread.access$1800(ActivityThread.java:112)
> 07-21 08:39:03.589: ERROR/AndroidRuntime(728):     at
> android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692)
> 07-21 08:39:03.589: ERROR/AndroidRuntime(728):     at
> android.os.Handler.dispatchMessage(Handler.java:99)
> 07-21 08:39:03.589: ERROR/AndroidRuntime(728):     at
> android.os.Looper.loop(Looper.java:123)
> 07-21 08:39:03.589: ERROR/AndroidRuntime(728):     at
> android.app.ActivityThread.main(ActivityThread.java:3948)
> 07-21 08:39:03.589: ERROR/AndroidRuntime(728):     at
> java.lang.reflect.Method.invokeNative(Native Method)
> 07-21 08:39:03.589: ERROR/AndroidRuntime(728):     at
> java.lang.reflect.Method.invoke(Method.java:521)
> 07-21 08:39:03.589: ERROR/AndroidRuntime(728):     at
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
> (ZygoteInit.java:782)
> 07-21 08:39:03.589: ERROR/AndroidRuntime(728):     at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
> 07-21 08:39:03.589: ERROR/AndroidRuntime(728):     at
> dalvik.system.NativeStart.main(Native Method)
>
> Any ideas? Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to