android备份代理和SherlockMapActivity

时间:2013-02-06 21:59:02

标签: android actionbarsherlock android-backup-service actionbarsherlock-map

我尝试在我的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
  • 乔达 - 时间 - 2.1.jar
  • ocpsoft-漂亮 - 时间 - 1.0.7.jar

有人有想法吗?

0 个答案:

没有答案