导入开源项目后报:1 Caused by: java.lang.ClassNotFoundException: Didn't find class "net.oschina.app.AppCo...



导入开源项目后 运行应用报错:Caused by: java.lang.ClassNotFoundException: Didn't find class "net.oschina.app.AppContext" on path: /data/app/net.oschina.app-1.apk


最终查明:好像是eclipse adt 插件升级导致的

解决方法:

菜单Project -> Properties -> Java Build Path -> Order & Export, 然后选中Android Private Libraries, 菜单 Project->Clean,然后运行程序即可。

如果依然失败,将相关的依赖工程选中Android Private Libraries并clean,或者重启eclipse  然后重试即可

你可能感兴趣的:(导入开源项目后报:1 Caused by: java.lang.ClassNotFoundException: Didn't find class "net.oschina.app.AppCo...)