Updating to Android r22 Tools

Futuristic technology background. Internet data connection. Cloud networks.

Recently Google released an update (r22) to their Android developer tooling. This update has rearranged the directory structure of the tools and breaks the building of Android projects both from the CLI and inside Titanium Studio. Unless you need the updated functionality we recommend you hold off updating for now.

How do I know if I’ve run into this issue?

See TIMOB-13944. You’ll get a failure similar to “TypeError: argument of type ‘NoneType’ is not iterable”

How do I fix this problem?

There are a number of different ways to address the issue, depending on your goals:

If you want to use just the very latest version of the SDK, download the pre-release 3.1.1 build from https://builds.appcelerator.com.s3.amazonaws.com/index.html#3_1_X

If you need  to use prior versions of the SDK:


  1. Thanx for providing a direct download link to these previous version tools – something google refuses to do anywhere on the android website! R22 is very much broken for rhodes.

  2. I think you forgot to tell what directory symlinks should be placed in, for the workaround to work ..:

    cd $ANDROID_SDK_ROOT/tools
    ln -s ../build-tools/17.0.0/aapt
    ln -s ../build-tools/17.0.0/dx

Comments are closed.