Convert project to use gradle.
Use android-sdk-manager to simplify Travis CI builds.