1

我尝试在我的 Android 应用程序中实现备份代理,但每次恢复时都会遇到一个奇怪的问题(首次启动时):

Unable to resolve superclass of Lcom/actionbarsherlock/app/SherlockMapActivity; (916)
Link of class 'Lcom/actionbarsherlock/app/SherlockMapActivity;' failed
Unable to resolve superclass of Lnet/myapp/activity/impl/MapActivity; (674)
Link of class 'Lnet/myapp/activity/impl/MapActivity;' failed
Could not find class 'net.myapp.activity.impl.MapActivity', referenced from method net.myapp.helper.SlidingMenuHelper.<clinit>

VFY: unable to resolve const-class 1520 (Lnet/myapp/activity/impl/MapActivity;) in Lnet/myapp/helper/SlidingMenuHelper;
VFY: replacing opcode 0x1c at 0x0081
     Exception Ljava/lang/NoClassDefFoundError; thrown while initializing Lnet/myapp/helper/SlidingMenuHelper;

在此处完成日志:https ://gist.github.com/romainguefveneu/1acc78cabbed65fba4b7

恢复过程运行良好,当我第二次打开该应用程序时,我的数据已正确恢复。

加载 SherlockMapActivity 似乎是一个问题,我在我的项目中使用了所有这些库:

  • actionbarsherlock-plugin-maps-4.2.0.jar
  • bugsense-3.0.1.jar
  • commons-io-2.0.1.jar
  • gson-2.2.2.jar
  • joda-time-2.1.jar
  • ocpsoft-pretty-time-1.0.7.jar

有人有想法吗?

4

0 回答 0