Builds break if you update to Android SDK r22

Kevin Brosnan kbrosnan at mozilla.com
Mon May 20 12:51:37 PDT 2013


TLDR; don't update your SDK.


 From Michael Comella:

Building Firefox for Android with Android SDK r22 fails. So far I've found the
following reasons:
   * aapt and dx were moved to <android-sdk>/build-tools/17.0.0/
   * apkbuilder appears to have been removed

A workaround for the former is as follows:
   cd <android-sdk>/platform-tools
   ln -s ../build-tools/17.0.0/aapt aapt
   ln -s ../build-tools/17.0.0/dx dx

https://bugzilla.mozilla.org/show_bug.cgi?id=866772

If you have already updated your SDK then download 
http://dl-ssl.google.com/android/repository/tools_r21-linux.zip or 
http://dl-ssl.google.com/android/repository/tools_r21-macosx.zip for the 
apkbuilder and symlink as suggested in the bug.


Kevin Brosnan


More information about the mobile-firefox-dev mailing list