Android build failing with build.xml:479: SDK does not have any Build Tools installed

Solution 1:

try run

android update sdk -u

in terminal.

You will see logs like this on your screen

Installing Archives:
  Preparing to install archives
  Downloading Android SDK Platform-tools, revision 17
  Installing Android SDK Platform-tools, revision 17
    Stopping ADB server succeeded.
    Installed Android SDK Platform-tools, revision 1799%)
  Downloading Android SDK Build-tools, revision 17
  Installing Android SDK Build-tools, revision 17
    Installed Android SDK Build-tools, revision 1799%)
  Downloading ARM EABI v7a System Image, Android API 17, revision 2
     (71%, 775 KiB/s, 41 seconds left))

After Android SDK is successfully updated, make sure Build Tools is installed.

enter image description here

Solution 2:

http://andrewma.com/2013/05/18/resolving-sdk-does-not-have-any-build-tools-installed-error/

After upgrading my Android SDK to 22, I started running into failed builds with the error message:

{android-sdk}/tools/ant/build.xml:479: SDK does not have any Build Tools installed

Couldn’t find very much on the web on how to resolve this and eventually I realized that it was because I only updated existing packages. In SDK 22, the platform tools and build tools are split up into their own items in the SDK manager.

Make sure you install the build-tools and platform-tools.

Solution 3:

I installed Build Tools using SDK manager. They look installed, but they aren't. My {SDK}/build-tools folder is simply empty.

I just downloaded sdk from http://developer.android.com/sdk/index.html and moved android-4.2.2 folder in my build-tools folder.