Delete R.java from your src/ and let Eclipse pick up the one from
gen/.

That should resolve your problem.


Balwinder Kaur
Open Source Development Center
·T· · ·Mobile· stick together

The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.


On Aug 3, 12:52 am, Samuel Terre <[email protected]> wrote:
> 我不知道为啥老是会出现一个gen [generated java files]的包 里头的r.java和我src文件夹里头的r.java同名
> 于是老是一把红叉  错误名曰:   the type r is already defined 可是我要是删掉gen  马上它又自动生成
>
> Hello everyone im a newbie in Android field recently I download an
> example named "get Splashy",I don't know why there always create a
> folder named gen[generated java files]  .There is a java file share
> the same name with the one in src package and noticed there was an
> error:"the type is already defined".If i delete the folder the Eclipse
> would recreate this folder with the r.java file again.   I don't know
> how to handle this nor I will unable to run/debug the program......
> pls help me
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to