After the first time I (re)install a new APK sometimes I get
VerifyErrors when an Activity references another Activity that extends
MapActivity.  The app will crash, and then when I restart it it works
fine.

This is only on 1.5 targets with the google API addons (target 3).  If
anyone has any suggestions please let me know.

Here is the logcat:
05-07 15:44:32.024: WARN/dalvikvm(16630): Unable to resolve superclass
of Lcom/tunewiki/lyricplayer/android/community/maps/MusicMapActivity;
(210)
05-07 15:44:32.024: WARN/dalvikvm(16630): Link of class 'Lcom/tunewiki/
lyricplayer/android/community/maps/MusicMapActivity;' failed
05-07 15:44:32.024: ERROR/dalvikvm(16630): Could not find class
'com.tunewiki.lyricplayer.android.community.maps.MusicMapActivity',
referenced from method
com.tunewiki.lyricplayer.android.player.VideoPlayer.launchMusicMap
05-07 15:44:32.024: WARN/dalvikvm(16630): VFY: unable to resolve const-
class 464 (Lcom/tunewiki/lyricplayer/android/community/maps/
MusicMapActivity;) in Lcom/tunewiki/lyricplayer/android/player/
VideoPlayer;
05-07 15:44:32.024: WARN/dalvikvm(16630): VFY:  rejecting opcode 0x1c
at 0x0004
05-07 15:44:32.024: WARN/dalvikvm(16630): VFY:  rejected Lcom/tunewiki/
lyricplayer/android/player/VideoPlayer;.launchMusicMap ()V
05-07 15:44:32.024: WARN/dalvikvm(16630): Verifier rejected class Lcom/
tunewiki/lyricplayer/android/player/VideoPlayer;
05-07 15:44:32.024: WARN/dalvikvm(16630): Class init failed in
newInstance call (Lcom/tunewiki/lyricplayer/android/player/
VideoPlayer;)
05-07 15:44:32.024: DEBUG/AndroidRuntime(16630): Shutting down VM
05-07 15:44:32.034: WARN/dalvikvm(16630): threadid=3: thread exiting
with uncaught exception (group=0x4000fe70)
05-07 15:44:32.214: ERROR/AndroidRuntime(16630): Uncaught handler:
thread main exiting due to uncaught exception
05-07 15:44:32.224: ERROR/AndroidRuntime(16630):
java.lang.VerifyError:
com.tunewiki.lyricplayer.android.player.VideoPlayer
05-07 15:44:32.224: ERROR/AndroidRuntime(16630):     at
java.lang.Class.newInstanceImpl(Native Method)
05-07 15:44:32.224: ERROR/AndroidRuntime(16630):     at
java.lang.Class.newInstance(Class.java:1472)
05-07 15:44:32.224: ERROR/AndroidRuntime(16630):     at
android.app.Instrumentation.newActivity(Instrumentation.java:1097)
05-07 15:44:32.224: ERROR/AndroidRuntime(16630):     at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2186)
05-07 15:44:32.224: ERROR/AndroidRuntime(16630):     at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
2284)
05-07 15:44:32.224: ERROR/AndroidRuntime(16630):     at
android.app.ActivityThread.access$1800(ActivityThread.java:112)
05-07 15:44:32.224: ERROR/AndroidRuntime(16630):     at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692)
05-07 15:44:32.224: ERROR/AndroidRuntime(16630):     at
android.os.Handler.dispatchMessage(Handler.java:99)
05-07 15:44:32.224: ERROR/AndroidRuntime(16630):     at
android.os.Looper.loop(Looper.java:123)
05-07 15:44:32.224: ERROR/AndroidRuntime(16630):     at
android.app.ActivityThread.main(ActivityThread.java:3948)
05-07 15:44:32.224: ERROR/AndroidRuntime(16630):     at
java.lang.reflect.Method.invokeNative(Native Method)
05-07 15:44:32.224: ERROR/AndroidRuntime(16630):     at
java.lang.reflect.Method.invoke(Method.java:521)
05-07 15:44:32.224: ERROR/AndroidRuntime(16630):     at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
(ZygoteInit.java:782)
05-07 15:44:32.224: ERROR/AndroidRuntime(16630):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
05-07 15:44:32.224: ERROR/AndroidRuntime(16630):     at
dalvik.system.NativeStart.main(Native Method)

Thanks,
Zach
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to