[android-developers] Eclipse wont regenerate files since downloading the 2.3 SDK
I have recently downloaded the add on to Eclipse for the 2.3 SDK. My minSDK is 2.1update-1. Previously I only had up to the 2.2 SDK and I could change my XML files and drawables without hassle and the generated R.java file would regenerate properly. The same if I changed my aidl files, the stubs would regenerate properly. However since the upgrade to 2.3 SDK I cant change or add any XML files or drawables or aidl files as they wont regenerate causing all sorts of issues. I have googled and tried all sorts of suggestions such as: Using clean. Deleting the gen files and rebuilding (Just leaves an empty Gen folder) Using non automatic build Using the new Formating parameter in Strings.xml However none of them work. Is there something I've missed that I have to do to get the regeneration working for 2.3 SDK? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Eclipse wont regenerate files since downloading the 2.3 SDK
I'm occasionally seeing this with ADT 10, SDK 2.2 (API 10), Eclipse 3.6.2. For now, I just clean my project when this happens (usually my code blows up in the main activity's setContent because of shifting resource IDs). -- Kostya 09.03.2011 15:52, draf...@gmail.com пишет: I have recently downloaded the add on to Eclipse for the 2.3 SDK. My minSDK is 2.1update-1. Previously I only had up to the 2.2 SDK and I could change my XML files and drawables without hassle and the generated R.java file would regenerate properly. The same if I changed my aidl files, the stubs would regenerate properly. However since the upgrade to 2.3 SDK I cant change or add any XML files or drawables or aidl files as they wont regenerate causing all sorts of issues. I have googled and tried all sorts of suggestions such as: Using clean. Deleting the gen files and rebuilding (Just leaves an empty Gen folder) Using non automatic build Using the new Formating parameter in Strings.xml However none of them work. Is there something I've missed that I have to do to get the regeneration working for 2.3 SDK? -- Kostya Vasilyev -- http://kmansoft.wordpress.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Eclipse wont regenerate files since downloading the 2.3 SDK
Clean is of no benefit to me in my case I'm afraid, does nothing. Its as if there are errors in the XML so the R file cant generate but Eclipse doesn't show up any errors On Wed, Mar 9, 2011 at 12:58 PM, Kostya Vasilyev wrote: > I'm occasionally seeing this with ADT 10, SDK 2.2 (API 10), Eclipse 3.6.2. > > For now, I just clean my project when this happens (usually my code blows > up in the main activity's setContent because of shifting resource IDs). > > -- Kostya > > 09.03.2011 15:52, draf...@gmail.com пишет: > > I have recently downloaded the add on to Eclipse for the 2.3 SDK. My >> minSDK is 2.1update-1. >> >> Previously I only had up to the 2.2 SDK and I could change my XML >> files and drawables without hassle and the generated R.java file would >> regenerate properly. The same if I changed my aidl files, the stubs >> would regenerate properly. >> >> However since the upgrade to 2.3 SDK I cant change or add any XML >> files or drawables or aidl files as they wont regenerate causing all >> sorts of issues. >> >> I have googled and tried all sorts of suggestions such as: >> >> Using clean. >> Deleting the gen files and rebuilding (Just leaves an empty Gen >> folder) >> Using non automatic build >> Using the new Formating parameter in Strings.xml >> >> However none of them work. >> >> Is there something I've missed that I have to do to get the >> regeneration working for 2.3 SDK? >> >> > > -- > Kostya Vasilyev -- http://kmansoft.wordpress.com > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Eclipse wont regenerate files since downloading the 2.3 SDK
Just to add to this I have now also deleted every single XML file under my res folder and the R.java file still did not rebuild, what is going on!?? On Wed, Mar 9, 2011 at 1:07 PM, Donal Rafferty wrote: > Clean is of no benefit to me in my case I'm afraid, does nothing. Its as if > there are errors in the XML so the R file cant generate but Eclipse doesn't > show up any errors > > > On Wed, Mar 9, 2011 at 12:58 PM, Kostya Vasilyev wrote: > >> I'm occasionally seeing this with ADT 10, SDK 2.2 (API 10), Eclipse 3.6.2. >> >> For now, I just clean my project when this happens (usually my code blows >> up in the main activity's setContent because of shifting resource IDs). >> >> -- Kostya >> >> 09.03.2011 15:52, draf...@gmail.com пишет: >> >> I have recently downloaded the add on to Eclipse for the 2.3 SDK. My >>> minSDK is 2.1update-1. >>> >>> Previously I only had up to the 2.2 SDK and I could change my XML >>> files and drawables without hassle and the generated R.java file would >>> regenerate properly. The same if I changed my aidl files, the stubs >>> would regenerate properly. >>> >>> However since the upgrade to 2.3 SDK I cant change or add any XML >>> files or drawables or aidl files as they wont regenerate causing all >>> sorts of issues. >>> >>> I have googled and tried all sorts of suggestions such as: >>> >>> Using clean. >>> Deleting the gen files and rebuilding (Just leaves an empty Gen >>> folder) >>> Using non automatic build >>> Using the new Formating parameter in Strings.xml >>> >>> However none of them work. >>> >>> Is there something I've missed that I have to do to get the >>> regeneration working for 2.3 SDK? >>> >>> >> >> -- >> Kostya Vasilyev -- http://kmansoft.wordpress.com >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to android-developers@googlegroups.com >> To unsubscribe from this group, send email to >> android-developers+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en > > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en