android - Type R is already defined 错误

标签 android eclipse

enter image description here 我该如何解决?我已经尝试删除 R.java 并通过 eclipse 清理项目,但它没有帮助。

仅供引用,我正在尝试从此处获取 PhotoStream:http://code.google.com/p/apps-for-android/ ,但到目前为止,很难让事情正常进行。

最佳答案

好的..... 5 分钟后谷歌告诉我正确答案...

http://www.fairtec.at/en/it-blog-mainmenu-16/168-the-type-r-is-already-defined

我只是没有足够努力地搜索。

"The type R is already defined"

That's the message you get in Eclipse if you try to build the Funambol Android Sync Client. Reason is that you have checked two Builders that try to generate the same class. You just have to uncheck the Java-Builder from Project->Properties->Builders. Then the application even works fine in the Emulator.

关于android - Type R is already defined 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5283414/

相关文章:

java - native_init() 链接错误

android - 在服务中使用 AsyncTask 更新通知栏中的进度条?

Eclipse 代码格式化程序 : do not wrap lines on method call

eclipse - 无法将文件或文件夹添加到 svn :ignore

c - Eclipse 中的树莓派交叉编译

android - AsyncTask 和 Looper.prepare() 错误

android - 将联系人添加到群组 Android

java - 在Eclipse中附加源Mapper.class

java - Eclipse "Build Automatically"没有级联

android - Robolectric 与 AndroidX fragment