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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en