Hi,

I've never seen this behavior. If there was any errors in your
project, the R.java file would not be updated but it certainly would
not disappear during the build.
Is there anything the android console view or in the Problems view?

Xav

On Sun, Apr 6, 2008 at 12:35 PM, wamoc <[EMAIL PROTECTED]> wrote:
>
>  Ok, on the windows machine I didn't try anything with CVS, just to get
>  m5 to work.  I downloaded eclipse and put the program files in C:/
>  program files/eclipse.  I downloaded m5 and put the folder in C:/.  In
>  eclipse I installed the plugins with the directions on the android
>  site. I then restarted eclipse and went to properties and told it the
>  location of the m5 version of the sdk.  I created a new android
>  project (to test things) and R.java was created no problems.  I then
>  modified a file (main.xml) and when eclipse rebuilt the project,
>  R.java disappeared. I tried cleaning the project, going to android
>  tools and fixing project properties, basically anything that people
>  recommended to get m5 to work on a project. Nothing would fix it.
>  This is the exact same problem that my Ubuntu machine is having, it
>  can create an initial R.java, but when it needs updating, it will no
>  longer create it. I have tried the same steps on both of cleaning and
>  whatnot to try to fix it. I am out of ideas on what to do. I know it
>  is not just my computer/os, because 2 computers with different
>  operating systems both having the same problems seems odd. It seems to
>  me that the m5 release is pretty broken.
>
>
>
>  On Apr 6, 12:42 pm, "Dan U." <[EMAIL PROTECTED]> wrote:
>  > Wow. That sucks.
>  >
>  > My first inclination is that CVS is related. When you tried this on
>  > Windows, were you opening the project from a copy you got out of CVS?
>  >
>  > If it's not CVS, could you explain the exact steps you took to install
>  > everything on the Windows machine?
>  >
>  > On Apr 6, 10:08 am, wamoc <[EMAIL PROTECTED]> wrote:
>  >
>  > > Ok, I installed eclipse, the plugins and the sdk on my windows
>  > > machine, and the same problem is happening. Everything with this
>  > > computer is a completely clean install for android and eclipse things.
>  > > Any idea why this is happening?
>  > > The first machine tried on was a laptop running Ubuntu Gutsy, eclipse
>  > > 3.2 (did try upgrading to 3.3) originally running m3 but updated to
>  > > run m5
>  > > Second machine tried on was a pc running Windows XP Pro, eclipse 3.3
>  > > running m5 (completely clean install, nothing for eclipse or android
>  > > was ever on this comp).
>  >
>  > > On Apr 6, 12:27 am, wamoc <[EMAIL PROTECTED]> wrote:
>  >
>  > > > Ok, I tried installing Eclipse Europa, and that didn't fix it.
>  > > > Tomorrow I will try to do this on my windows machine (shudder) and
>  > > > hope it works.
>  >
>  > > > On Apr 5, 10:19 pm, "Dan U." <[EMAIL PROTECTED]> wrote:
>  >
>  > > > > I think your development environment must be messed up. If I do a
>  > > > > clean, R.java goes away, then regenerates immediately. Your eclipse
>  > > > > version is ok according to the docs, but maybe you should try getting
>  > > > > 3.3. It seems Ubuntu has been giving people problems, so it might be
>  > > > > related.
>  >
>  > > > > On Apr 5, 8:31 pm, wamoc <[EMAIL PROTECTED]> wrote:
>  >
>  > > > > > Ok, I tried copying everything over to a new project and it made an
>  > > > > > initial R.java.  When I did a clean of the project, the R.java
>  > > > > > disappeared again. Why can't m5 seem to do anything with R.java 
> except
>  > > > > > create an initial one?
>  >
>  > > > > > On Apr 5, 5:17 pm, "Dan U." <[EMAIL PROTECTED]> wrote:
>  >
>  > > > > > > I recall some other people having this problem and importing to 
> a new
>  > > > > > > project was a solution. Like you said, having it in cvs makes 
> copying
>  > > > > > > to a new project painful.
>  >
>  > > > > > > Probably some config file somewhere doesn't get updated. I 
> haven't
>  > > > > > > seen a list of all the changes to various files between m3 and 
> m5. If
>  > > > > > > you can find one, you would know what files to look at. You 
> could also
>  > > > > > > consider creating two default projects, one in m3 and one in m5, 
> then
>  > > > > > > running a diff on them.
>  >
>  > > > > > > On Apr 5, 2:26 pm, wamoc <[EMAIL PROTECTED]> wrote:
>  >
>  > > > > > > > Ok, I have figured out one thing, It wont generate the R.java 
> for
>  > > > > > > > existing projects, but it will for new ones. The project I am 
> working
>  > > > > > > > on is in a cvs repository, so I can't just try copying the 
> source over
>  > > > > > > > to a new project.
>  >
>  > > > > > > > On Apr 5, 3:14 pm, wamoc <[EMAIL PROTECTED]> wrote:
>  >
>  > > > > > > > > I just tried that and it still wont generate R.java. I 
> double checked
>  > > > > > > > > the paths in Eclipse to make sure they were looking to the 
> right
>  > > > > > > > > areas, and they are. Later today I will try this on a 
> different
>  > > > > > > > > computer and hope that that works. If any body else has any 
> ideas, I
>  > > > > > > > > would greatly appreciate hearing them because I do most of 
> my work on
>  > > > > > > > > this computer.
>  >
>  > > > > > > > > On Apr 4, 1:42 pm, "Xavier Ducrohet" <[EMAIL PROTECTED]> 
> wrote:
>  >
>  > > > > > > > > > Hi,
>  >
>  > > > > > > > > > Look athttp://code.google.com/android/intro/upgrading.html
>  > > > > > > > > > See item 5 "Update your project properties". Make sure you 
> did that.
>  >
>  > > > > > > > > > Xav
>  >
>  > > > > > > > > > On Fri, Apr 4, 2008 at 12:07 PM, wamoc <[EMAIL PROTECTED]> 
> wrote:
>  >
>  > > > > > > > > > >  I am running Ubuntu Gutsy and eclipse 3.2 It isn't a 
> problem with my
>  > > > > > > > > > >  xml files (I did update the files for new syntax with 
> no effect). Do
>  > > > > > > > > > >  you have any idea why m5 wont build the R.java file? I 
> have tried
>  > > > > > > > > > >  cleaning the project to get it to build, but nothing 
> works to get
>  > > > > > > > > > >  R.java except for going back to m3. A project that I am 
> working on we
>  > > > > > > > > > >  need some of the features in m5, but can't get it to 
> work.
>  >
>  > > > > > > > > > >  On Apr 4, 12:03 pm, "Megha Joshi" <[EMAIL PROTECTED]> 
> wrote:
>  > > > > > > > > > >  > Do your xml files follow the new syntax rules for m5. 
> You might want to
>  > > > > > > > > > >  > paste your resource files and your resource folder 
> names here.
>  > > > > > > > > > >  > I would also need your operating system version and 
> eclipse version.
>  >
>  > > > > > > > > > >  > Thanks,
>  > > > > > > > > > >  > Megha
>  >
>  > > > > > > > > > > > On Fri, Apr 4, 2008 at 10:30 AM, wamoc <[EMAIL 
> PROTECTED]> wrote:
>  >
>  > > > > > > > > > >  > > Yes I did try that. I actually completely 
> uninstalled eclipse and
>  > > > > > > > > > >  > > installed only the new ADT plugin and tried that 
> way. I was still
>  > > > > > > > > > >  > > unsuccessful with that.
>  >
>  > > > > > > > > > >  > > On Apr 3, 5:45 pm, "Megha Joshi" <[EMAIL 
> PROTECTED]> wrote:
>  > > > > > > > > > >  > > >  Hi,
>  >
>  > > > > > > > > > >  > > >  Did you uninstall the previous version of the 
> eclipse ADT plugin and
>  > > > > > > > > > >  > > > install the latest one?
>  >
>  > > > > > > > > > >  > > >  -Megha
>  >
>  > > > > > > > > > >  > > > On Thu, Apr 3, 2008 at 2:38 PM, wamoc <[EMAIL 
> PROTECTED]>
>  > > > > > > > > > >  > > wrote:
>  >
>  > > > > > > > > > >  > > > > I tried to upgrade the sdk from m3 to m5 and am 
> having some problems.
>  > > > > > > > > > >  > > > > I followed all the instructions to update and 
> when I am having eclipse
>  > > > > > > > > > >  > > > > run the m5 version, R.java wont be created. If 
> I switch it back to m3,
>  > > > > > > > > > >  > > > > R.java is created.  When I switch it to m5 
> again, the R.java
>  > > > > > > > > > >  > > > > disappears. Does anyone have any idea of how to 
> fix this?
>  >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to