简体   繁体   English

更新SDK后,Android中出现NoClassDefFound错误

[英]NoClassDefFound Error in android after updating the SDK

I was using ADT with Eclipse 22.3 version where my code was working fine but as soon as I started using the latest version 22.6 (to implement few functions which could not be done in 22.3) i got this error. 我在Eclipse 22.3版本中使用了ADT,但我的代码运行良好,但是当我开始使用最新版本22.6(实现一些在22.3中无法完成的功能)后,我遇到了此错误。 I tried out stuff like restart eclipse,clean project,build pathh also created libs folder and copied all jars in it.The class for which i am getting this error is a third party (AmazonS3Client).I have included all jars correctly checked them in referenced libraries.It was working well in earlier version but not here.please someone help 我尝试了诸如重新启动eclipse,清理项目,构建路径之类的东西,还创建了libs文件夹并复制了其中的所有jar。我遇到此错误的类是第三方(AmazonS3Client)。我已包括所有正确检查过的jars引用的库。它在较早版本中运行良好,但在此处无法运行。请有人帮助

Go to Project -> Properties -> Java Build Path -> Order & Export and ensure Android Private Libraries are checked for your project and for all other library projects you are using. 转到项目->属性-> Java构建路径->订单和导出,并确保为您的项目以及您正在使用的所有其他库项目检查了Android Private Libraries Clean all projects and run it. 清理所有项目并运行它。

You need to go to Go to Project->Properties and make some changes as per the answer. 您需要转到“项目”->“属性”,然后根据答案进行一些更改。

Check the answer here 这里检查答案

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM