我遇到了新的ActionBarSherlock问题。 我必须将它链接到我的项目并在支持android API 7级及更高级别的项目中使用它的功能(片段等)。
我已经在我的项目中创建了一个模块,并且我已将ActionBarSherlock库项目链接到它。一切看起来不错,项目正确重建,将有效的apk部署到模拟器,但是当我尝试运行应用程序时,我得到了类似的东西:
WARN/dalvikvm(540): Unable to resolve superclass of Lcom/mobileinsight/common/CustomActivity; (134)
WARN/dalvikvm(540): Link of class 'Lcom/mobileinsight/common/CustomActivity;' failed
WARN/dalvikvm(540): Unable to resolve superclass of Lcom/mobileinsight/ui/SplashActivity; (175)
WARN/dalvikvm(540): Link of class 'Lcom/mobileinsight/ui/SplashActivity;' failed
WARN/dalvikvm(540): threadid=3: thread exiting with uncaught exception (group=0x4001b188)`
ERROR/AndroidRuntime(540): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.mobileinsight/com.mobileinsight.ui.SplashActivity}: java.lang.ClassNotFoundException: com.mobileinsight.ui.SplashActivity in loader dalvik.system.PathClassLoader@45f352e8
当应用程序尝试实例化扩展SherlockActivity
或FragmentSherlockActivity
有人可以帮我这个吗?
谢谢, 柜