[android-beginners] Re: R.java file is not getting updated

2009-02-04 Thread madcoder
It won't rebuild unless you fix the error first. The error that is causing the R file to not be updated. Once you fix the error, the R file will automatically be generated. It might be a pain, but keep trying to solve it. If you have to (as a last resort, and the above ideas don't work), remov

[android-beginners] Re: R.java file is not getting updated

2009-02-03 Thread Ashwani Rao
Hi Mark, Thanks for the idea. I took the backupp of the R.java file and then did the build through eclipse(Project -> build project) but the new file was not generated. Then i tried through the aapt tool. I got the following error. ->aapt c -M /bmc/test/workspace/CatchMe/AndroidManifest.xml -J

[android-beginners] Re: R.java file is not getting updated

2009-02-02 Thread kamil *under the tree*
Perhaps the xml file is not lowercases? When I changed to lowercase the problem is fixed. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginne

[android-beginners] Re: R.java file is not getting updated

2009-02-02 Thread Mark Roberts
You can force a rebuild by deleting the R.java file On Feb 2, 7:40 am, Ashwani Rao wrote: > Hi, > > There is no problem with the backgorund. > I am also not getting red line in my xml files. > > Should i run the aapt tool from command line ? > > Regards, > Ashwani > > On 2/2/09, madcoder wrote:

[android-beginners] Re: R.java file is not getting updated

2009-02-02 Thread Ashwani Rao
Hi, There is no problem with the backgorund. I am also not getting red line in my xml files. Should i run the aapt tool from command line ? Regards, Ashwani On 2/2/09, madcoder wrote: > > > android:layout_width="fill_parent" android:layout_height="fill_parent" > android:layout_gravity="left"

[android-beginners] Re: R.java file is not getting updated

2009-02-02 Thread madcoder
Try to add android: To the First two button id's. Are you getting any red squiggly lines anywhere in the xml file? Are you sure that 'background' has been imported properly into your project? On Feb 2, 2:17 pm, Ashwani Rao wrote: > Hi, > > Please find the attached xml file. > I am u

[android-beginners] Re: R.java file is not getting updated

2009-02-01 Thread Ashwani Rao
Hi, Please find the attached xml file. I am using eclipse and tried to build the project through eclipes only. Thanks and Regrads, Ashwani On 2/1/09, Kevin J. Brooks wrote: > > > This fixed my problem. Try building your project. > > On Fri, 2009-01-30 at 07:57 -0500, Mark Murphy wrote: > > Ash

[android-beginners] Re: R.java file is not getting updated

2009-01-31 Thread Kevin J. Brooks
This fixed my problem. Try building your project. On Fri, 2009-01-30 at 07:57 -0500, Mark Murphy wrote: > Ashwani Rao wrote: > > HI, > > > > I have created xml file for UI. > > I later added identifiers (@+/id) to few elements but the R.java file > > is not getting updated. > > There are ma

[android-beginners] Re: R.java file is not getting updated

2009-01-31 Thread Kevin J. Brooks
This is the very problem I am having. Are you using Eclipse? On Fri, 2009-01-30 at 07:57 -0500, Mark Murphy wrote: > Ashwani Rao wrote: > > HI, > > > > I have created xml file for UI. > > I later added identifiers (@+/id) to few elements but the R.java file > > is not getting updated. > > Th

[android-beginners] Re: R.java file is not getting updated

2009-01-30 Thread Mark Murphy
Ashwani Rao wrote: > HI, > > I have created xml file for UI. > I later added identifiers (@+/id) to few elements but the R.java file > is not getting updated. There are many possible causes for this. Can you post the layout XML file? -- Mark Murphy (a Commons Guy) http://commonsware.com _Th