Unable to resolve superclass of Lcom/gizmo/tracker/XTrackerMap

by jason » Wed, 25 Nov 2009 08:50:20 GMT

Sponsored Links
 I have a XTrackerMap class that extends
com.google.android.maps.MapActivity. The application runs fine on the
HTC Hero device when connected via USB and uploaded via eclipse. If I
restart the phone and start the same application from the list of apps
on the phone, I get the following error; and subsequent application

11-24 16:17:12.774: WARN/dalvikvm(515): Unable to resolve superclass
of Lcom/gizmo/tracker/XTrackerMap; (57)
11-24 16:17:12.774: WARN/dalvikvm(515): Link of class 'Lcom/gizmo/
tracker/XTrackerMap;' failed
11-24 16:17:12.774: ERROR/dalvikvm(515): Could not find class
'com.gizmo.tracker.XTrackerMap', referenced from method
11-24 16:17:12.774: WARN/dalvikvm(515): VFY: unable to resolve const-
class 89 (Lcom/gizmo/tracker/XTrackerMap;) in Lcom/gizmo/tracker/
11-24 16:17:12.774: WARN/dalvikvm(515): VFY:  rejecting opcode 0x1c at
11-24 16:17:12.774: WARN/dalvikvm(515): VFY:  rejected Lcom/gizmo/
tracker/TrackingActivity;.initControls ()V
11-24 16:17:12.774: WARN/dalvikvm(515): Verifier rejected class Lcom/
11-24 16:17:12.774: WARN/dalvikvm(515): Class init failed in
newInstance call (Lcom/gizmo/tracker/TrackingActivity;)
11-24 16:17:12.774: DEBUG/AndroidRuntime(515): Shutting down VM

And yes, I do have this entry in the manifest file:

<uses-library android:name="com.google.android.maps" />

Why does this work only when launched via eclipse and not in
standalone phone mode? The launch class is TrackingActivity; and the
initControls method of TrackingActiviy has the following line:

trackMapIntent = new Intent(this, XTrackerMap.class);

<manifest xmlns:android=" http://schemas.android.com/apk/res/android" ;
        package="com.gizmo.tracker" android:versionCode="1"
        <application android:icon="@drawable/icon" android:label="@string/
        <uses-library android:name="com.google.android.maps" />


Other Threads

1. Arabic keyboard

I'm working at adding rabic keyboard to the android os.
I made a copy of the package softkeyboard and I changed querty.xml by
integrating the arabic letters.
After rebuilding the system, arabicsoftkeyboard dosen't appear in the
Am I wrong and if so can you please help me.


2. Pulling my hair out

I've been hunting for a solution for days and can't find an answer.
I've got an application where I need to place multiple calls in a row.
 I can invoke the dialer just fine and it starts calling the number.
The problem is that after the call is over the call log comes up.  I
don't want the call log to come up.  I want the dialer to return to my
app after the call is over.  How can I do this?


3. Android layouts

4. How to reverse text / background colors

5. Restoring ScrollView scroll position after orientation change

6. multiple notification

7. CometD and Android Emulator 1.5