R型已定义的错误 [英] Type R is already defined error

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

问题描述

我该如何解决这个问题?我已经试图消除R.java并通过月食清理项目,但它并不能帮助。

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

仅供参考我想从这里得到照片流: 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分钟之后,谷歌告诉我正确的答案...

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

<一个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

我只是didnt搜索努力不够。

I just didnt search hard enough.

R型已被定义

这就是你在Eclipse中得到的消息,如果你尝试建立的Funambol Android同步客户端。   原因是你已经检查2建设者试图生成同一类。   你只需要从项目 - >属性 - >建设者取消了Java的生成器。   然后应用程序甚至在仿真器正常工作。

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天全站免登陆