I have all my paths and environment setup, but build.xml generated by
the Android SDK still can't find aapt even though it exists. Anyone
else seen this?
Here's the console output:
$ ant compile
Buildfile: build.xml
[setup] Android SDK Tools Revision 7
[setup] Project Target: Android 1.6
[setup] API level: 4
[setup]
[setup] ------------------
[setup] Resolving library dependencies:
[setup] ------------------
[setup] Ordered libraries:
[setup] ------------------
[setup]
[setup] WARNING: Attribute minSdkVersion in AndroidManifest.xml
(3) is lower than the project target API level (4)
[setup]
[setup] Importing rules file: tools/ant/ant_rules_r3.xml
-dirs:
[echo] Creating output directories if needed...
-pre-build:
-resource-src:
[echo] Generating R.java / Manifest.java from the resources...
BUILD FAILED
/usr/local/android/tools/ant/ant_rules_r3.xml:283: Execute failed:
java.io.IOException: Cannot run program "/usr/local/android/platforms/
android-4/tools/aapt": java.io.IOException: error=2, No such file or
directory
Total time: 1 second
$ ls -als /usr/local/android/platforms/android-4/tools/aapt
3392 -rwxrwxrwx 1 richard richard 3472673 2010-09-17 10:19 /usr/local/
android/platforms/android-4/tools/aapt
$
--
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