[android-developers] Re: "R cannot be resolved" after updating to 1.5 SDK Pre, and trying to compile for 1.1
I'm running fedora 10, and I've had similar issues. Cleaning is part of the solution. However, I had a further problem that needed to be resolved first. As with previous releases of the SDK, I've found that I needed to execute "chmod 755 *" in the 'tools' directory. With this release, there are 2 additional 'tools' directories that need to have the proper permissions set (via the same command). These are under the 'platforms' directories, .../android-sdk-linux_x86-1.5_r1/ platforms/android-1.1/tools and .../android-sdk-linux_x86-1.5_r1/ platforms/android-1.5/tools. Hope this helps someone. On May 6, 9:20 am, pis4vlg wrote: > I think this is the right answer. When face the same problem, I fixed > it after clean the project. > > thanks to Raphael > > vincent > > On Apr 29, 1:31 am, Raphael wrote: > > > The first time you convert an old project to the 0.9 ADT with 1.5 SDK, > > you should try to use Project > Clean if you see any error on missing > > or duplicate classes. > > > R/ > > > On Mon, Apr 27, 2009 at 9:44 PM, hc wrote: > > > > Do you have to uninstall before you reinstall it? I just updated my > > > ADT to 0.9 (the non-pre ADT), and update to 1.5_R1 SDK, but I still > > > get the same error if I try to compile for Android1.1 > > > > On Apr 28, 9:29 am, Jay lee wrote: > > >> I saw the same error. > > >> so I reinstalled ADT and recheck build target "Android1.1" > > >> then I can see R.java which is generated at "gen" folder. > > > >> try this. > > > >> On Apr 27, 10:46 pm, hc wrote: > > > >> > Hi, > > > >> > I just tried that. But it does not work. After removing the file, I > > >> > still get the same error when I try to compile for 1.1 SDK. > > > >> > Worse, when I try to compile for1.5SDK after that, I get the > > >> > following error but application compiled successfully > > >> > Conversion to Dalvik format failed with error 1 > > > >> > On Apr 27, 9:05 pm, Satya Komatineni > > >> > wrote: > > > >> > > considering thatR.javais a generated file, try deleting it and see > > >> > > if the environment rebuilds according to your preference. > > > >> > > On Mon, Apr 27, 2009 at 8:57 AM, hc wrote: > > > >> > > > I updated to1.5SDK pre, together with the ADT. I followed the > > >> > > > instruction to select Android1.5as target by right clicking on the > > >> > > > project, Preferences>Android. In this window there are 3 options, > > >> > > > Android 1.1 > > >> > > > Android1.5 > > >> > > > Google APIs > > > >> > > > I selected Android1.5and Apply, clicked OK. Application compiled > > >> > > > nicely. > > > >> > > > If I go back to the same Preferences and select Android 1.1, > > >> > > > Apply, I > > >> > > > can no longer compile my application successfully. > > >> > > > I get hundreds of the same error > > >> > > > R cannot be resolved > > > >> > > > Then I try to open this project in another computer that I have not > > >> > > > updated the SDK yet. I get the same error. Can anyone help to solve > > >> > > > this? I'm trapped until the new SDK is out. > > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: "R cannot be resolved" after updating to 1.5 SDK Pre, and trying to compile for 1.1
I think this is the right answer. When face the same problem, I fixed it after clean the project. thanks to Raphael vincent On Apr 29, 1:31 am, Raphael wrote: > The first time you convert an old project to the 0.9 ADT with 1.5 SDK, > you should try to use Project > Clean if you see any error on missing > or duplicate classes. > > R/ > > On Mon, Apr 27, 2009 at 9:44 PM, hc wrote: > > > Do you have to uninstall before you reinstall it? I just updated my > > ADT to 0.9 (the non-pre ADT), and update to 1.5_R1 SDK, but I still > > get the same error if I try to compile for Android1.1 > > > On Apr 28, 9:29 am, Jay lee wrote: > >> I saw the same error. > >> so I reinstalled ADT and recheck build target "Android1.1" > >> then I can see R.java which is generated at "gen" folder. > > >> try this. > > >> On Apr 27, 10:46 pm, hc wrote: > > >> > Hi, > > >> > I just tried that. But it does not work. After removing the file, I > >> > still get the same error when I try to compile for 1.1 SDK. > > >> > Worse, when I try to compile for1.5SDK after that, I get the > >> > following error but application compiled successfully > >> > Conversion to Dalvik format failed with error 1 > > >> > On Apr 27, 9:05 pm, Satya Komatineni > >> > wrote: > > >> > > considering thatR.javais a generated file, try deleting it and see > >> > > if the environment rebuilds according to your preference. > > >> > > On Mon, Apr 27, 2009 at 8:57 AM, hc wrote: > > >> > > > I updated to1.5SDK pre, together with the ADT. I followed the > >> > > > instruction to select Android1.5as target by right clicking on the > >> > > > project, Preferences>Android. In this window there are 3 options, > >> > > > Android 1.1 > >> > > > Android1.5 > >> > > > Google APIs > > >> > > > I selected Android1.5and Apply, clicked OK. Application compiled > >> > > > nicely. > > >> > > > If I go back to the same Preferences and select Android 1.1, Apply, I > >> > > > can no longer compile my application successfully. > >> > > > I get hundreds of the same error > >> > > > R cannot be resolved > > >> > > > Then I try to open this project in another computer that I have not > >> > > > updated the SDK yet. I get the same error. Can anyone help to solve > >> > > > this? I'm trapped until the new SDK is out. > > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: "R cannot be resolved" after updating to 1.5 SDK Pre, and trying to compile for 1.1
More info...it is specifically the "import android.R" statement that is causing the problem. It was in all my old files. When I delete it and re-generate the new imports, the problem goes away. Maybe this can be fixed in Eclipse or ADT. I'm sure other people must also be having this problem. jh On May 1, 6:31 am, "John B. Hansen" wrote: > Strange. When I manually deleted all the Import statements and then > Reorganize Imports (Shift+Ctrl+O) again, it cleans up the problems. I > had been > using Organize-Imports (Shift+Ctrl+O) repeatedly on those migrated > files but there may have been some stale imports that needed to be > manually deleted (I thought Organize-Imports would do that > automatically for me? but > apparently not?). Anyway, I'm cleaning up the files using this method > and it works > for both 1.1 and 1.5 build targets. Looks like this is solved. Thanks > for the > assistance. > > jh > > On Apr 30, 7:07 pm, "John B. Hansen" wrote: > > > Yes, I selected Android 1.1 platform API Level 2. > > I also made sure src and gen folders were included in the Build path. > > I also included res folder in Build path but it had no effect. > > > FYI: I am able to build a new Hello World program that just works. > > But, > > I can't figure out why that one works and my migrated projects don't > > work? > > > jh > > > On Apr 30, 5:24 pm, Xavier Ducrohet wrote: > > > > Did you setup the Build target for your older project? > > > > Xav > > > > On Thu, Apr 30, 2009 at 2:54 PM, John B. Hansen > > > wrote: > > > > > I have the same problem i.e. after converting to Android 1.5 SDK, > > > > my project files won't compile due to dozens of R.* files "cannot be > > > > resolved". > > > > > I've tried: > > > > 1. Adding the sdk 'tools' to my path > > > > 2. Reinstalling ADT > > > > 3. Cleaning my project > > > > > Nothing is working. Anyone have any other suggestions. I'm stopped. > > > > > jh > > > > > On Apr 28, 10:31 am, Raphael wrote: > > > >> The first time you convert an old project to the 0.9 ADT with1.5SDK, > > > >> you should try to use Project > Clean if you see any error on missing > > > >> or duplicate classes. > > > > >> R/ > > > > >> On Mon, Apr 27, 2009 at 9:44 PM, hc wrote: > > > > >> > Do you have to uninstall before you reinstall it? I just updated my > > > >> > ADT to 0.9 (the non-pre ADT), and update to1.5_R1 SDK, but I still > > > >> > get the same error if I try to compile for Android1.1 > > > > >> > On Apr 28, 9:29 am, Jay lee wrote: > > > >> >> I saw the same error. > > > >> >> so I reinstalled ADT and recheck build target "Android1.1" > > > >> >> then I can seeR.java which is generated at "gen" folder. > > > > >> >> try this. > > > > >> >> On Apr 27, 10:46 pm, hc wrote: > > > > >> >> > Hi, > > > > >> >> > I just tried that. But it does not work. After removing the file, > > > >> >> > I > > > >> >> > still get the same error when I try to compile for 1.1 SDK. > > > > >> >> > Worse, when I try to compile for1.5SDK after that, I get the > > > >> >> > following error but application compiled successfully > > > >> >> > Conversion to Dalvik format failed with error 1 > > > > >> >> > On Apr 27, 9:05 pm, Satya Komatineni > > > >> >> > wrote: > > > > >> >> > > considering thatR.javais a generated file, try deleting it and > > > >> >> > > see > > > >> >> > > if the environment rebuilds according to your preference. > > > > >> >> > > On Mon, Apr 27, 2009 at 8:57 AM, hc wrote: > > > > >> >> > > > I updated to1.5SDK pre, together with the ADT. I followed the > > > >> >> > > > instruction to select Android1.5as target by right clicking > > > >> >> > > > on the > > > >> >> > > > project, Preferences>Android. In this window there are 3 > > > >> >> > > > options, > > > >> >> > > > Android 1.1 > > > >> >> > > > Android1.5 > > > >> >> > > > Google APIs > > > > >> >> > > > I selected Android1.5and Apply, clicked OK. Application > > > >> >> > > > compiled > > > >> >> > > > nicely. > > > > >> >> > > > If I go back to the same Preferences and select Android 1.1, > > > >> >> > > > Apply, I > > > >> >> > > > can no longer compile my application successfully. > > > >> >> > > > I get hundreds of the same error > > > >> >> > > >Rcannotberesolved > > > > >> >> > > > Then I try to open this project in another computer that I > > > >> >> > > > have not > > > >> >> > > > updated the SDK yet. I get the same error. Can anyone help to > > > >> >> > > > solve > > > >> >> > > > this? I'm trapped until the new SDK is out. > > > > -- > > > Xavier Ducrohet > > > Android Developer Tools Engineer > > > Google Inc. --~--~-~--~~~---~--~~ 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-deve
[android-developers] Re: "R cannot be resolved" after updating to 1.5 SDK Pre, and trying to compile for 1.1
More info...it is specifically the "import android.R" statement that is causing the problem. It was in all my old files. When I delete it and re-generate the new imports, the problem goes away. Maybe this can be fixed in Eclipse or ADT. I'm sure other people must also be having this problem. jh On May 1, 6:31 am, "John B. Hansen" wrote: > Strange. When I manually deleted all the Import statements and then > Reorganize Imports (Shift+Ctrl+O) again, it cleans up the problems. I > had been > using Organize-Imports (Shift+Ctrl+O) repeatedly on those migrated > files but there may have been some stale imports that needed to be > manually deleted (I thought Organize-Imports would do that > automatically for me? but > apparently not?). Anyway, I'm cleaning up the files using this method > and it works > for both 1.1 and 1.5 build targets. Looks like this is solved. Thanks > for the > assistance. > > jh > > On Apr 30, 7:07 pm, "John B. Hansen" wrote: > > > Yes, I selected Android 1.1 platform API Level 2. > > I also made sure src and gen folders were included in the Build path. > > I also included res folder in Build path but it had no effect. > > > FYI: I am able to build a new Hello World program that just works. > > But, > > I can't figure out why that one works and my migrated projects don't > > work? > > > jh > > > On Apr 30, 5:24 pm, Xavier Ducrohet wrote: > > > > Did you setup the Build target for your older project? > > > > Xav > > > > On Thu, Apr 30, 2009 at 2:54 PM, John B. Hansen > > > wrote: > > > > > I have the same problem i.e. after converting to Android 1.5 SDK, > > > > my project files won't compile due to dozens of R.* files "cannot be > > > > resolved". > > > > > I've tried: > > > > 1. Adding the sdk 'tools' to my path > > > > 2. Reinstalling ADT > > > > 3. Cleaning my project > > > > > Nothing is working. Anyone have any other suggestions. I'm stopped. > > > > > jh > > > > > On Apr 28, 10:31 am, Raphael wrote: > > > >> The first time you convert an old project to the 0.9 ADT with1.5SDK, > > > >> you should try to use Project > Clean if you see any error on missing > > > >> or duplicate classes. > > > > >> R/ > > > > >> On Mon, Apr 27, 2009 at 9:44 PM, hc wrote: > > > > >> > Do you have to uninstall before you reinstall it? I just updated my > > > >> > ADT to 0.9 (the non-pre ADT), and update to1.5_R1 SDK, but I still > > > >> > get the same error if I try to compile for Android1.1 > > > > >> > On Apr 28, 9:29 am, Jay lee wrote: > > > >> >> I saw the same error. > > > >> >> so I reinstalled ADT and recheck build target "Android1.1" > > > >> >> then I can seeR.java which is generated at "gen" folder. > > > > >> >> try this. > > > > >> >> On Apr 27, 10:46 pm, hc wrote: > > > > >> >> > Hi, > > > > >> >> > I just tried that. But it does not work. After removing the file, > > > >> >> > I > > > >> >> > still get the same error when I try to compile for 1.1 SDK. > > > > >> >> > Worse, when I try to compile for1.5SDK after that, I get the > > > >> >> > following error but application compiled successfully > > > >> >> > Conversion to Dalvik format failed with error 1 > > > > >> >> > On Apr 27, 9:05 pm, Satya Komatineni > > > >> >> > wrote: > > > > >> >> > > considering thatR.javais a generated file, try deleting it and > > > >> >> > > see > > > >> >> > > if the environment rebuilds according to your preference. > > > > >> >> > > On Mon, Apr 27, 2009 at 8:57 AM, hc wrote: > > > > >> >> > > > I updated to1.5SDK pre, together with the ADT. I followed the > > > >> >> > > > instruction to select Android1.5as target by right clicking > > > >> >> > > > on the > > > >> >> > > > project, Preferences>Android. In this window there are 3 > > > >> >> > > > options, > > > >> >> > > > Android 1.1 > > > >> >> > > > Android1.5 > > > >> >> > > > Google APIs > > > > >> >> > > > I selected Android1.5and Apply, clicked OK. Application > > > >> >> > > > compiled > > > >> >> > > > nicely. > > > > >> >> > > > If I go back to the same Preferences and select Android 1.1, > > > >> >> > > > Apply, I > > > >> >> > > > can no longer compile my application successfully. > > > >> >> > > > I get hundreds of the same error > > > >> >> > > >Rcannotberesolved > > > > >> >> > > > Then I try to open this project in another computer that I > > > >> >> > > > have not > > > >> >> > > > updated the SDK yet. I get the same error. Can anyone help to > > > >> >> > > > solve > > > >> >> > > > this? I'm trapped until the new SDK is out. > > > > -- > > > Xavier Ducrohet > > > Android Developer Tools Engineer > > > Google Inc. --~--~-~--~~~---~--~~ 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-deve
[android-developers] Re: "R cannot be resolved" after updating to 1.5 SDK Pre, and trying to compile for 1.1
More info...it is specifically the "import android.R" statement that is causing the problem. It was in all my old files. When I delete it and re-generate the new imports, the problem goes away. Maybe this can be fixed in Eclipse or ADT. I'm sure other people must also be having this problem. jh On May 1, 6:31 am, "John B. Hansen" wrote: > Strange. When I manually deleted all the Import statements and then > Reorganize Imports (Shift+Ctrl+O) again, it cleans up the problems. I > had been > using Organize-Imports (Shift+Ctrl+O) repeatedly on those migrated > files but there may have been some stale imports that needed to be > manually deleted (I thought Organize-Imports would do that > automatically for me? but > apparently not?). Anyway, I'm cleaning up the files using this method > and it works > for both 1.1 and 1.5 build targets. Looks like this is solved. Thanks > for the > assistance. > > jh > > On Apr 30, 7:07 pm, "John B. Hansen" wrote: > > > Yes, I selected Android 1.1 platform API Level 2. > > I also made sure src and gen folders were included in the Build path. > > I also included res folder in Build path but it had no effect. > > > FYI: I am able to build a new Hello World program that just works. > > But, > > I can't figure out why that one works and my migrated projects don't > > work? > > > jh > > > On Apr 30, 5:24 pm, Xavier Ducrohet wrote: > > > > Did you setup the Build target for your older project? > > > > Xav > > > > On Thu, Apr 30, 2009 at 2:54 PM, John B. Hansen > > > wrote: > > > > > I have the same problem i.e. after converting to Android 1.5 SDK, > > > > my project files won't compile due to dozens of R.* files "cannot be > > > > resolved". > > > > > I've tried: > > > > 1. Adding the sdk 'tools' to my path > > > > 2. Reinstalling ADT > > > > 3. Cleaning my project > > > > > Nothing is working. Anyone have any other suggestions. I'm stopped. > > > > > jh > > > > > On Apr 28, 10:31 am, Raphael wrote: > > > >> The first time you convert an old project to the 0.9 ADT with1.5SDK, > > > >> you should try to use Project > Clean if you see any error on missing > > > >> or duplicate classes. > > > > >> R/ > > > > >> On Mon, Apr 27, 2009 at 9:44 PM, hc wrote: > > > > >> > Do you have to uninstall before you reinstall it? I just updated my > > > >> > ADT to 0.9 (the non-pre ADT), and update to1.5_R1 SDK, but I still > > > >> > get the same error if I try to compile for Android1.1 > > > > >> > On Apr 28, 9:29 am, Jay lee wrote: > > > >> >> I saw the same error. > > > >> >> so I reinstalled ADT and recheck build target "Android1.1" > > > >> >> then I can seeR.java which is generated at "gen" folder. > > > > >> >> try this. > > > > >> >> On Apr 27, 10:46 pm, hc wrote: > > > > >> >> > Hi, > > > > >> >> > I just tried that. But it does not work. After removing the file, > > > >> >> > I > > > >> >> > still get the same error when I try to compile for 1.1 SDK. > > > > >> >> > Worse, when I try to compile for1.5SDK after that, I get the > > > >> >> > following error but application compiled successfully > > > >> >> > Conversion to Dalvik format failed with error 1 > > > > >> >> > On Apr 27, 9:05 pm, Satya Komatineni > > > >> >> > wrote: > > > > >> >> > > considering thatR.javais a generated file, try deleting it and > > > >> >> > > see > > > >> >> > > if the environment rebuilds according to your preference. > > > > >> >> > > On Mon, Apr 27, 2009 at 8:57 AM, hc wrote: > > > > >> >> > > > I updated to1.5SDK pre, together with the ADT. I followed the > > > >> >> > > > instruction to select Android1.5as target by right clicking > > > >> >> > > > on the > > > >> >> > > > project, Preferences>Android. In this window there are 3 > > > >> >> > > > options, > > > >> >> > > > Android 1.1 > > > >> >> > > > Android1.5 > > > >> >> > > > Google APIs > > > > >> >> > > > I selected Android1.5and Apply, clicked OK. Application > > > >> >> > > > compiled > > > >> >> > > > nicely. > > > > >> >> > > > If I go back to the same Preferences and select Android 1.1, > > > >> >> > > > Apply, I > > > >> >> > > > can no longer compile my application successfully. > > > >> >> > > > I get hundreds of the same error > > > >> >> > > >Rcannotberesolved > > > > >> >> > > > Then I try to open this project in another computer that I > > > >> >> > > > have not > > > >> >> > > > updated the SDK yet. I get the same error. Can anyone help to > > > >> >> > > > solve > > > >> >> > > > this? I'm trapped until the new SDK is out. > > > > -- > > > Xavier Ducrohet > > > Android Developer Tools Engineer > > > Google Inc. --~--~-~--~~~---~--~~ 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-deve
[android-developers] Re: "R cannot be resolved" after updating to 1.5 SDK Pre, and trying to compile for 1.1
Strange. When I manually deleted all the Import statements and then Reorganize Imports (Shift+Ctrl+O) again, it cleans up the problems. I had been using Organize-Imports (Shift+Ctrl+O) repeatedly on those migrated files but there may have been some stale imports that needed to be manually deleted (I thought Organize-Imports would do that automatically for me? but apparently not?). Anyway, I'm cleaning up the files using this method and it works for both 1.1 and 1.5 build targets. Looks like this is solved. Thanks for the assistance. jh On Apr 30, 7:07 pm, "John B. Hansen" wrote: > Yes, I selected Android 1.1 platform API Level 2. > I also made sure src and gen folders were included in the Build path. > I also included res folder in Build path but it had no effect. > > FYI: I am able to build a new Hello World program that just works. > But, > I can't figure out why that one works and my migrated projects don't > work? > > jh > > On Apr 30, 5:24 pm, Xavier Ducrohet wrote: > > > Did you setup the Build target for your older project? > > > Xav > > > On Thu, Apr 30, 2009 at 2:54 PM, John B. Hansen wrote: > > > > I have the same problem i.e. after converting to Android 1.5 SDK, > > > my project files won't compile due to dozens of R.* files "cannot be > > > resolved". > > > > I've tried: > > > 1. Adding the sdk 'tools' to my path > > > 2. Reinstalling ADT > > > 3. Cleaning my project > > > > Nothing is working. Anyone have any other suggestions. I'm stopped. > > > > jh > > > > On Apr 28, 10:31 am, Raphael wrote: > > >> The first time you convert an old project to the 0.9 ADT with1.5SDK, > > >> you should try to use Project > Clean if you see any error on missing > > >> or duplicate classes. > > > >> R/ > > > >> On Mon, Apr 27, 2009 at 9:44 PM, hc wrote: > > > >> > Do you have to uninstall before you reinstall it? I just updated my > > >> > ADT to 0.9 (the non-pre ADT), and update to1.5_R1 SDK, but I still > > >> > get the same error if I try to compile for Android1.1 > > > >> > On Apr 28, 9:29 am, Jay lee wrote: > > >> >> I saw the same error. > > >> >> so I reinstalled ADT and recheck build target "Android1.1" > > >> >> then I can seeR.java which is generated at "gen" folder. > > > >> >> try this. > > > >> >> On Apr 27, 10:46 pm, hc wrote: > > > >> >> > Hi, > > > >> >> > I just tried that. But it does not work. After removing the file, I > > >> >> > still get the same error when I try to compile for 1.1 SDK. > > > >> >> > Worse, when I try to compile for1.5SDK after that, I get the > > >> >> > following error but application compiled successfully > > >> >> > Conversion to Dalvik format failed with error 1 > > > >> >> > On Apr 27, 9:05 pm, Satya Komatineni > > >> >> > wrote: > > > >> >> > > considering thatR.javais a generated file, try deleting it and see > > >> >> > > if the environment rebuilds according to your preference. > > > >> >> > > On Mon, Apr 27, 2009 at 8:57 AM, hc wrote: > > > >> >> > > > I updated to1.5SDK pre, together with the ADT. I followed the > > >> >> > > > instruction to select Android1.5as target by right clicking on > > >> >> > > > the > > >> >> > > > project, Preferences>Android. In this window there are 3 > > >> >> > > > options, > > >> >> > > > Android 1.1 > > >> >> > > > Android1.5 > > >> >> > > > Google APIs > > > >> >> > > > I selected Android1.5and Apply, clicked OK. Application compiled > > >> >> > > > nicely. > > > >> >> > > > If I go back to the same Preferences and select Android 1.1, > > >> >> > > > Apply, I > > >> >> > > > can no longer compile my application successfully. > > >> >> > > > I get hundreds of the same error > > >> >> > > >Rcannotberesolved > > > >> >> > > > Then I try to open this project in another computer that I have > > >> >> > > > not > > >> >> > > > updated the SDK yet. I get the same error. Can anyone help to > > >> >> > > > solve > > >> >> > > > this? I'm trapped until the new SDK is out. > > > -- > > Xavier Ducrohet > > Android Developer Tools Engineer > > Google Inc. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: "R cannot be resolved" after updating to 1.5 SDK Pre, and trying to compile for 1.1
Yes, I selected Android 1.1 platform API Level 2. I also made sure src and gen folders were included in the Build path. I also included res folder in Build path but it had no effect. FYI: I am able to build a new Hello World program that just works. But, I can't figure out why that one works and my migrated projects don't work? jh On Apr 30, 5:24 pm, Xavier Ducrohet wrote: > Did you setup the Build target for your older project? > > Xav > > On Thu, Apr 30, 2009 at 2:54 PM, John B. Hansen wrote: > > > > > > > I have the same problem i.e. after converting to Android 1.5 SDK, > > my project files won't compile due to dozens of R.* files "cannot be > > resolved". > > > I've tried: > > 1. Adding the sdk 'tools' to my path > > 2. Reinstalling ADT > > 3. Cleaning my project > > > Nothing is working. Anyone have any other suggestions. I'm stopped. > > > jh > > > On Apr 28, 10:31 am, Raphael wrote: > >> The first time you convert an old project to the 0.9 ADT with1.5SDK, > >> you should try to use Project > Clean if you see any error on missing > >> or duplicate classes. > > >> R/ > > >> On Mon, Apr 27, 2009 at 9:44 PM, hc wrote: > > >> > Do you have to uninstall before you reinstall it? I just updated my > >> > ADT to 0.9 (the non-pre ADT), and update to1.5_R1 SDK, but I still > >> > get the same error if I try to compile for Android1.1 > > >> > On Apr 28, 9:29 am, Jay lee wrote: > >> >> I saw the same error. > >> >> so I reinstalled ADT and recheck build target "Android1.1" > >> >> then I can seeR.java which is generated at "gen" folder. > > >> >> try this. > > >> >> On Apr 27, 10:46 pm, hc wrote: > > >> >> > Hi, > > >> >> > I just tried that. But it does not work. After removing the file, I > >> >> > still get the same error when I try to compile for 1.1 SDK. > > >> >> > Worse, when I try to compile for1.5SDK after that, I get the > >> >> > following error but application compiled successfully > >> >> > Conversion to Dalvik format failed with error 1 > > >> >> > On Apr 27, 9:05 pm, Satya Komatineni > >> >> > wrote: > > >> >> > > considering thatR.javais a generated file, try deleting it and see > >> >> > > if the environment rebuilds according to your preference. > > >> >> > > On Mon, Apr 27, 2009 at 8:57 AM, hc wrote: > > >> >> > > > I updated to1.5SDK pre, together with the ADT. I followed the > >> >> > > > instruction to select Android1.5as target by right clicking on the > >> >> > > > project, Preferences>Android. In this window there are 3 options, > >> >> > > > Android 1.1 > >> >> > > > Android1.5 > >> >> > > > Google APIs > > >> >> > > > I selected Android1.5and Apply, clicked OK. Application compiled > >> >> > > > nicely. > > >> >> > > > If I go back to the same Preferences and select Android 1.1, > >> >> > > > Apply, I > >> >> > > > can no longer compile my application successfully. > >> >> > > > I get hundreds of the same error > >> >> > > >Rcannotberesolved > > >> >> > > > Then I try to open this project in another computer that I have > >> >> > > > not > >> >> > > > updated the SDK yet. I get the same error. Can anyone help to > >> >> > > > solve > >> >> > > > this? I'm trapped until the new SDK is out. > > -- > Xavier Ducrohet > Android Developer Tools Engineer > Google Inc. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: "R cannot be resolved" after updating to 1.5 SDK Pre, and trying to compile for 1.1
Did you setup the Build target for your older project? Xav On Thu, Apr 30, 2009 at 2:54 PM, John B. Hansen wrote: > > I have the same problem i.e. after converting to Android 1.5 SDK, > my project files won't compile due to dozens of R.* files "cannot be > resolved". > > I've tried: > 1. Adding the sdk 'tools' to my path > 2. Reinstalling ADT > 3. Cleaning my project > > Nothing is working. Anyone have any other suggestions. I'm stopped. > > jh > > On Apr 28, 10:31 am, Raphael wrote: >> The first time you convert an old project to the 0.9 ADT with1.5SDK, >> you should try to use Project > Clean if you see any error on missing >> or duplicate classes. >> >> R/ >> >> On Mon, Apr 27, 2009 at 9:44 PM, hc wrote: >> >> > Do you have to uninstall before you reinstall it? I just updated my >> > ADT to 0.9 (the non-pre ADT), and update to1.5_R1 SDK, but I still >> > get the same error if I try to compile for Android1.1 >> >> > On Apr 28, 9:29 am, Jay lee wrote: >> >> I saw the same error. >> >> so I reinstalled ADT and recheck build target "Android1.1" >> >> then I can seeR.java which is generated at "gen" folder. >> >> >> try this. >> >> >> On Apr 27, 10:46 pm, hc wrote: >> >> >> > Hi, >> >> >> > I just tried that. But it does not work. After removing the file, I >> >> > still get the same error when I try to compile for 1.1 SDK. >> >> >> > Worse, when I try to compile for1.5SDK after that, I get the >> >> > following error but application compiled successfully >> >> > Conversion to Dalvik format failed with error 1 >> >> >> > On Apr 27, 9:05 pm, Satya Komatineni >> >> > wrote: >> >> >> > > considering thatR.javais a generated file, try deleting it and see >> >> > > if the environment rebuilds according to your preference. >> >> >> > > On Mon, Apr 27, 2009 at 8:57 AM, hc wrote: >> >> >> > > > I updated to1.5SDK pre, together with the ADT. I followed the >> >> > > > instruction to select Android1.5as target by right clicking on the >> >> > > > project, Preferences>Android. In this window there are 3 options, >> >> > > > Android 1.1 >> >> > > > Android1.5 >> >> > > > Google APIs >> >> >> > > > I selected Android1.5and Apply, clicked OK. Application compiled >> >> > > > nicely. >> >> >> > > > If I go back to the same Preferences and select Android 1.1, Apply, >> >> > > > I >> >> > > > can no longer compile my application successfully. >> >> > > > I get hundreds of the same error >> >> > > >Rcannotberesolved >> >> >> > > > Then I try to open this project in another computer that I have not >> >> > > > updated the SDK yet. I get the same error. Can anyone help to solve >> >> > > > this? I'm trapped until the new SDK is out. > > > -- Xavier Ducrohet Android Developer Tools Engineer Google Inc. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: "R cannot be resolved" after updating to 1.5 SDK Pre, and trying to compile for 1.1
I also checked and the 'gen' dir is in my java source build path. Its still not working. jh On Apr 30, 2:54 pm, "John B. Hansen" wrote: > I have the same problem i.e. after converting to Android 1.5 SDK, > my project files won't compile due to dozens of R.* files "cannot be > resolved". > > I've tried: > 1. Adding the sdk 'tools' to my path > 2. Reinstalling ADT > 3. Cleaning my project > > Nothing is working. Anyone have any other suggestions. I'm stopped. > > jh > > On Apr 28, 10:31 am, Raphael wrote: > > > The first time you convert an old project to the 0.9 ADT with1.5SDK, > > you should try to use Project > Clean if you see any error on missing > > or duplicate classes. > > > R/ > > > On Mon, Apr 27, 2009 at 9:44 PM, hc wrote: > > > > Do you have to uninstall before you reinstall it? I just updated my > > > ADT to 0.9 (the non-pre ADT), and update to1.5_R1 SDK, but I still > > > get the same error if I try to compile for Android1.1 > > > > On Apr 28, 9:29 am, Jay lee wrote: > > >> I saw the same error. > > >> so I reinstalled ADT and recheck build target "Android1.1" > > >> then I can seeR.java which is generated at "gen" folder. > > > >> try this. > > > >> On Apr 27, 10:46 pm, hc wrote: > > > >> > Hi, > > > >> > I just tried that. But it does not work. After removing the file, I > > >> > still get the same error when I try to compile for 1.1 SDK. > > > >> > Worse, when I try to compile for1.5SDK after that, I get the > > >> > following error but application compiled successfully > > >> > Conversion to Dalvik format failed with error 1 > > > >> > On Apr 27, 9:05 pm, Satya Komatineni > > >> > wrote: > > > >> > > considering thatR.javais a generated file, try deleting it and see > > >> > > if the environment rebuilds according to your preference. > > > >> > > On Mon, Apr 27, 2009 at 8:57 AM, hc wrote: > > > >> > > > I updated to1.5SDK pre, together with the ADT. I followed the > > >> > > > instruction to select Android1.5as target by right clicking on the > > >> > > > project, Preferences>Android. In this window there are 3 options, > > >> > > > Android 1.1 > > >> > > > Android1.5 > > >> > > > Google APIs > > > >> > > > I selected Android1.5and Apply, clicked OK. Application compiled > > >> > > > nicely. > > > >> > > > If I go back to the same Preferences and select Android 1.1, > > >> > > > Apply, I > > >> > > > can no longer compile my application successfully. > > >> > > > I get hundreds of the same error > > >> > > >Rcannotberesolved > > > >> > > > Then I try to open this project in another computer that I have not > > >> > > > updated the SDK yet. I get the same error. Can anyone help to solve > > >> > > > this? I'm trapped until the new SDK is out. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: "R cannot be resolved" after updating to 1.5 SDK Pre, and trying to compile for 1.1
I have the same problem i.e. after converting to Android 1.5 SDK, my project files won't compile due to dozens of R.* files "cannot be resolved". I've tried: 1. Adding the sdk 'tools' to my path 2. Reinstalling ADT 3. Cleaning my project Nothing is working. Anyone have any other suggestions. I'm stopped. jh On Apr 28, 10:31 am, Raphael wrote: > The first time you convert an old project to the 0.9 ADT with1.5SDK, > you should try to use Project > Clean if you see any error on missing > or duplicate classes. > > R/ > > On Mon, Apr 27, 2009 at 9:44 PM, hc wrote: > > > Do you have to uninstall before you reinstall it? I just updated my > > ADT to 0.9 (the non-pre ADT), and update to1.5_R1 SDK, but I still > > get the same error if I try to compile for Android1.1 > > > On Apr 28, 9:29 am, Jay lee wrote: > >> I saw the same error. > >> so I reinstalled ADT and recheck build target "Android1.1" > >> then I can seeR.java which is generated at "gen" folder. > > >> try this. > > >> On Apr 27, 10:46 pm, hc wrote: > > >> > Hi, > > >> > I just tried that. But it does not work. After removing the file, I > >> > still get the same error when I try to compile for 1.1 SDK. > > >> > Worse, when I try to compile for1.5SDK after that, I get the > >> > following error but application compiled successfully > >> > Conversion to Dalvik format failed with error 1 > > >> > On Apr 27, 9:05 pm, Satya Komatineni > >> > wrote: > > >> > > considering thatR.javais a generated file, try deleting it and see > >> > > if the environment rebuilds according to your preference. > > >> > > On Mon, Apr 27, 2009 at 8:57 AM, hc wrote: > > >> > > > I updated to1.5SDK pre, together with the ADT. I followed the > >> > > > instruction to select Android1.5as target by right clicking on the > >> > > > project, Preferences>Android. In this window there are 3 options, > >> > > > Android 1.1 > >> > > > Android1.5 > >> > > > Google APIs > > >> > > > I selected Android1.5and Apply, clicked OK. Application compiled > >> > > > nicely. > > >> > > > If I go back to the same Preferences and select Android 1.1, Apply, I > >> > > > can no longer compile my application successfully. > >> > > > I get hundreds of the same error > >> > > >Rcannotberesolved > > >> > > > Then I try to open this project in another computer that I have not > >> > > > updated the SDK yet. I get the same error. Can anyone help to solve > >> > > > this? I'm trapped until the new SDK is out. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: "R cannot be resolved" after updating to 1.5 SDK Pre, and trying to compile for 1.1
I had the same problem but solved it. Perhaps this will help: Make sure the 'gen' directory is part of the java source build path. Right Click on project name (Package Explorer) -> Properties (Context Menu) -> Java Build Path (tree) -> Source (tab) -> Add Folder (Button) -> "gen" (directory name) -> OK (BUtton) Now R will be properly resolved. Richard Schilling Root Wireless, Inc. On Apr 28, 10:31 am, Raphael wrote: > The first time you convert an old project to the 0.9 ADT with 1.5 SDK, > you should try to use Project > Clean if you see any error on missing > or duplicate classes. > > R/ > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: "R cannot be resolved" after updating to 1.5 SDK Pre, and trying to compile for 1.1
The first time you convert an old project to the 0.9 ADT with 1.5 SDK, you should try to use Project > Clean if you see any error on missing or duplicate classes. R/ On Mon, Apr 27, 2009 at 9:44 PM, hc wrote: > > Do you have to uninstall before you reinstall it? I just updated my > ADT to 0.9 (the non-pre ADT), and update to 1.5_R1 SDK, but I still > get the same error if I try to compile for Android1.1 > > On Apr 28, 9:29 am, Jay lee wrote: >> I saw the same error. >> so I reinstalled ADT and recheck build target "Android1.1" >> then I can see R.java which is generated at "gen" folder. >> >> try this. >> >> On Apr 27, 10:46 pm, hc wrote: >> >> > Hi, >> >> > I just tried that. But it does not work. After removing the file, I >> > still get the same error when I try to compile for 1.1 SDK. >> >> > Worse, when I try to compile for1.5SDK after that, I get the >> > following error but application compiled successfully >> > Conversion to Dalvik format failed with error 1 >> >> > On Apr 27, 9:05 pm, Satya Komatineni >> > wrote: >> >> > > considering thatR.javais a generated file, try deleting it and see >> > > if the environment rebuilds according to your preference. >> >> > > On Mon, Apr 27, 2009 at 8:57 AM, hc wrote: >> >> > > > I updated to1.5SDK pre, together with the ADT. I followed the >> > > > instruction to select Android1.5as target by right clicking on the >> > > > project, Preferences>Android. In this window there are 3 options, >> > > > Android 1.1 >> > > > Android1.5 >> > > > Google APIs >> >> > > > I selected Android1.5and Apply, clicked OK. Application compiled >> > > > nicely. >> >> > > > If I go back to the same Preferences and select Android 1.1, Apply, I >> > > > can no longer compile my application successfully. >> > > > I get hundreds of the same error >> > > > R cannot be resolved >> >> > > > Then I try to open this project in another computer that I have not >> > > > updated the SDK yet. I get the same error. Can anyone help to solve >> > > > this? I'm trapped until the new SDK is out. > > > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: "R cannot be resolved" after updating to 1.5 SDK Pre, and trying to compile for 1.1
Hi hc Under Unix to add tools directory to PATH you can do it in .bash_profile of your user : PATH=$PATH:/tools export PATH where xxx is the PATH of where you put the SDK Andre --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: "R cannot be resolved" after updating to 1.5 SDK Pre, and trying to compile for 1.1
How do u add tools directory to PATH? Was that automatic in Eclipse, and I broke that somehow? On Apr 28, 1:56 pm, André Charles Legendre wrote: > I got similar problems with SDK on Linux. I solved it by adding tools > directory in PATH. > > Regards > > Andre --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: "R cannot be resolved" after updating to 1.5 SDK Pre, and trying to compile for 1.1
I got similar problems with SDK on Linux. I solved it by adding tools directory in PATH. Regards Andre --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: "R cannot be resolved" after updating to 1.5 SDK Pre, and trying to compile for 1.1
Do you have to uninstall before you reinstall it? I just updated my ADT to 0.9 (the non-pre ADT), and update to 1.5_R1 SDK, but I still get the same error if I try to compile for Android1.1 On Apr 28, 9:29 am, Jay lee wrote: > I saw the same error. > so I reinstalled ADT and recheck build target "Android1.1" > then I can see R.java which is generated at "gen" folder. > > try this. > > On Apr 27, 10:46 pm, hc wrote: > > > Hi, > > > I just tried that. But it does not work. After removing the file, I > > still get the same error when I try to compile for 1.1 SDK. > > > Worse, when I try to compile for1.5SDK after that, I get the > > following error but application compiled successfully > > Conversion to Dalvik format failed with error 1 > > > On Apr 27, 9:05 pm, Satya Komatineni > > wrote: > > > > considering thatR.javais a generated file, try deleting it and see > > > if the environment rebuilds according to your preference. > > > > On Mon, Apr 27, 2009 at 8:57 AM, hc wrote: > > > > > I updated to1.5SDK pre, together with the ADT. I followed the > > > > instruction to select Android1.5as target by right clicking on the > > > > project, Preferences>Android. In this window there are 3 options, > > > > Android 1.1 > > > > Android1.5 > > > > Google APIs > > > > > I selected Android1.5and Apply, clicked OK. Application compiled > > > > nicely. > > > > > If I go back to the same Preferences and select Android 1.1, Apply, I > > > > can no longer compile my application successfully. > > > > I get hundreds of the same error > > > > R cannot be resolved > > > > > Then I try to open this project in another computer that I have not > > > > updated the SDK yet. I get the same error. Can anyone help to solve > > > > this? I'm trapped until the new SDK is out. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: "R cannot be resolved" after updating to 1.5 SDK Pre, and trying to compile for 1.1
I saw the same error. so I reinstalled ADT and recheck build target "Android1.1" then I can see R.java which is generated at "gen" folder. try this. On Apr 27, 10:46 pm, hc wrote: > Hi, > > I just tried that. But it does not work. After removing the file, I > still get the same error when I try to compile for 1.1 SDK. > > Worse, when I try to compile for1.5SDK after that, I get the > following error but application compiled successfully > Conversion to Dalvik format failed with error 1 > > On Apr 27, 9:05 pm, Satya Komatineni > wrote: > > > considering thatR.javais a generated file, try deleting it and see > > if the environment rebuilds according to your preference. > > > On Mon, Apr 27, 2009 at 8:57 AM, hc wrote: > > > > I updated to1.5SDK pre, together with the ADT. I followed the > > > instruction to select Android1.5as target by right clicking on the > > > project, Preferences>Android. In this window there are 3 options, > > > Android 1.1 > > > Android1.5 > > > Google APIs > > > > I selected Android1.5and Apply, clicked OK. Application compiled > > > nicely. > > > > If I go back to the same Preferences and select Android 1.1, Apply, I > > > can no longer compile my application successfully. > > > I get hundreds of the same error > > > R cannot be resolved > > > > Then I try to open this project in another computer that I have not > > > updated the SDK yet. I get the same error. Can anyone help to solve > > > this? I'm trapped until the new SDK is out. > > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: "R cannot be resolved" after updating to 1.5 SDK Pre, and trying to compile for 1.1
Hi, I just tried that. But it does not work. After removing the file, I still get the same error when I try to compile for 1.1 SDK. Worse, when I try to compile for 1.5 SDK after that, I get the following error but application compiled successfully Conversion to Dalvik format failed with error 1 On Apr 27, 9:05 pm, Satya Komatineni wrote: > considering that R.java is a generated file, try deleting it and see > if the environment rebuilds according to your preference. > > On Mon, Apr 27, 2009 at 8:57 AM, hc wrote: > > > I updated to 1.5 SDK pre, together with the ADT. I followed the > > instruction to select Android 1.5 as target by right clicking on the > > project, Preferences>Android. In this window there are 3 options, > > Android 1.1 > > Android 1.5 > > Google APIs > > > I selected Android 1.5 and Apply, clicked OK. Application compiled > > nicely. > > > If I go back to the same Preferences and select Android 1.1, Apply, I > > can no longer compile my application successfully. > > I get hundreds of the same error > > R cannot be resolved > > > Then I try to open this project in another computer that I have not > > updated the SDK yet. I get the same error. Can anyone help to solve > > this? I'm trapped until the new SDK is out. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: "R cannot be resolved" after updating to 1.5 SDK Pre, and trying to compile for 1.1
considering that R.java is a generated file, try deleting it and see if the environment rebuilds according to your preference. On Mon, Apr 27, 2009 at 8:57 AM, hc wrote: > > I updated to 1.5 SDK pre, together with the ADT. I followed the > instruction to select Android 1.5 as target by right clicking on the > project, Preferences>Android. In this window there are 3 options, > Android 1.1 > Android 1.5 > Google APIs > > I selected Android 1.5 and Apply, clicked OK. Application compiled > nicely. > > If I go back to the same Preferences and select Android 1.1, Apply, I > can no longer compile my application successfully. > I get hundreds of the same error > R cannot be resolved > > Then I try to open this project in another computer that I have not > updated the SDK yet. I get the same error. Can anyone help to solve > this? I'm trapped until the new SDK is out. > > > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---