我该如何解决?我已经尝试删除 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/