类型R已经定义了错误 [英] Type R is already defined error

查看:152
本文介绍了类型R已经定义了错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


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

How do I fix this? I already tried removing the R.java and cleaning the project via eclipse, but it doesn't help.

我想从这里获取PhotoStream: http://code.google.com/p/apps-for-android/ ,但到目前为止,很难让事情发挥作用。

FYI I am trying to get PhotoStream from here: http://code.google.com/p/apps-for-android/, but so far it has been very difficult to get things work.

推荐答案

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

Okay..... 5 mins later google tells me the correct answer...

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

我刚刚没有足够的搜索。 p>

I just didnt search hard enough.


类型R已经定义

"The type R is already defined"

这是您在Eclipse中获取的消息如果您尝试构建Funambol Android Sync Client。
原因是您已经检查了两个尝试生成同一个类的Builders。
您只需从Project-> Properties-> Builders中取消选中Java-Builder。
然后该应用程序甚至在模拟器中正常工作。

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.

这篇关于类型R已经定义了错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆