Caused by: java.lang.ClassNotFoundException: Didn't find class "com.yangyu.myslidingmenudemo07.MainActivity" on path: /data/app/com.yangyu.myslidingmenudemo07-1.apk
最终查明:好像是eclipse adt 插件升级导致的
解决方法:
菜单Project -> Properties -> Java Build Path -> Order & Export, 然后选中Android Private Libraries, 菜单 Project->Clean,然后运行程序即可。
如果依然失败,将相关的依赖工程选中Android Private Libraries并clean,或者重启eclipse 然后重试即可