[aerogear-dev] Ant in Android is currently Broken (with workaround)

Summers Pittman supittma at redhat.com
Mon Jun 15 10:19:43 EDT 2015


Y'all,

Google broke ant in Android.  This means that, among other things, Cordova
is broken if you are using the latest tooling.  HOWEVER, I found a
workaround and this is tracked in Android's bug tracker.

If you are seeing an error along the lines of ${aapt} can not be found then
this affects you.

First the workaround :

add
```
    <property name="aapt" location="${sdk.dir}/build-tools/22.0.1/aapt" />
    <property name="aidl" location="${sdk.dir}/build-tools/22.0.1/aidl" />
    <property name="dx" location="${sdk.dir}/build-tools/22.0.1/dx" />
    <property name="zipalign"
location="${sdk.dir}/build-tools/22.0.1/zipalign" />
```

to $ANDROID_HOME/tools/ant/build.xml

Second, Google's bug report for tracking :

https://code.google.com/p/android/issues/detail?id=176488
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20150615/e278bc08/attachment.html 


More information about the aerogear-dev mailing list