Basically nobody has 2.0.1 any more. That was an intermediate release, and all active devices have been updated past it.
On Tue, Sep 21, 2010 at 6:47 AM, Leigh McRae <[email protected] > wrote: > I have updated my tools to revision 7 and now I can't do a build as it > says the API level is obsolete. I can understand warning but it won't > build at all. I am using android.bat to generate a build.xml for > release versions. So the build.xml gets made from scratch each time. > If I switch to --target 8 it builds but I have already released it on > the Android Market with 6. Won't this mean that some people that have > Android 2.0.1 won't be able to run it? > > android update project --name Tanks --target 6 --path $ > {dist.project.dir} > > [setup] Android SDK Tools Revision 7 > [setup] Project Target: Android 2.0 > [setup] API level: 5 > [setup] > [setup] > [setup] > [setup] > *********************************************************** > [setup] WARNING: This platform is obsolete and its Ant rules may > not work properly. > [setup] WARNING: It is recommended to develop against a newer > version of Android. > [setup] WARNING: For more information about active versions of > Android see: > [setup] WARNING: > http://developer.android.com/resources/dashboard/platform-versions.html > [setup] > *********************************************************** > [setup] > [setup] > [setup] > [setup] > [setup] ------------------ > [setup] Resolving library dependencies: > [setup] ------------------ > [setup] Ordered libraries: > [setup] ------------------ > [setup] > > BUILD FAILED > D:\Android\build.xml:68: The following error occurred while executing > this line: > D:\Android\build.xml:215: The following error occurred while executing > this line: > D:\Android\dist\market-lite\build.xml:82: Build rules file 'D:\Program > Files\android-sdk-windows\tools\ant\android_rules.xml' is missing. > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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

