0

I had dual version of android supoort v4 library in facebook lib folder and my android lib folder. I deleted the one from my android and pasted facebook one. Now all my files in android application has resolve error. Like not finding R.layout.main_activity

What should i do ?

4

1 回答 1

1

您的意思是“libs”文件夹吗,因为自 ADT 17 以来您应该将库放在此处,那么如果您手动导入项目属性中的 jar 并删除它们,Eclipse 也会自动拾取它们。看看这里有一个很好的解释http://android.foxykeep.com/dev/how-to-fix-the-classdefnotfounderror-with-adt-17

在你把所有东西都放好后,也可以尝试重新启动 eclipse。

于 2012-12-01T02:20:19.557 回答