我有一个问题,我还没有找到答案,对不起,如果重复 我升级到sdk和ADT 17,从那时起,每次我打开一个项目,例如,广告admob google给我的错误:库中的SDK 17 - android
找不到类“com.google.ads.AdView” ......
这给我的印象中
我在此阅读,其中包括库(罐)的所有项目SDK改变了一些,但我的英语不是很好(使用谷歌翻译),我知道我做错了。
我很感激任何帮助。
问候
我有一个问题,我还没有找到答案,对不起,如果重复 我升级到sdk和ADT 17,从那时起,每次我打开一个项目,例如,广告admob google给我的错误:库中的SDK 17 - android
找不到类“com.google.ads.AdView” ......
这给我的印象中
我在此阅读,其中包括库(罐)的所有项目SDK改变了一些,但我的英语不是很好(使用谷歌翻译),我知道我做错了。
我很感激任何帮助。
问候
If you have ClassDefNotFoundError after updating to r17, make sure to read the following links:
http://android.foxykeep.com/dev/how-to-fix-the-classdefnotfounderror-with-adt-17 shows how to fix the problem with nice pictures of what the project should look like.
http://tools.android.com/recent/dealingwithdependenciesinandroidprojects (this was linked from the blog post and from the release notes) explains in detail how the new dependency system works.
好,研究小时后,我发现了一个简单的解决方案。
这就是所有!
如果您引用了不在'libs'文件夹中的jar,例如,如果您使用'classpath变量',则可以通过导出引用来解决新ADT 17中的NoClassDefFoundError问题。 要导出引用:只需转到“属性> Java构建路径>顺序和导出”,并检查所有需要导出的引用。 – easycheese 2012-03-24 16:39:23