我尝试在我的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似乎是个问题,我在项目中使用了所有这些库:
有人有想法吗?