Skip to content
  • Salvatore Testa's avatar
    Update the Android development enviornment setup · 38d9610c
    Salvatore Testa authored
    1. Update `ANDROID_SDK_ROOT` to `ANDROID_HOME`. The former variable is
       deprecated. (see https://developer.android.com/tools/variables#envar)
    2. Remove `ANDROID_NDK_HOME` environment variable. This should allow the
       build script to work out of the box for more folks.
    3. Check that Java is on the `PATH` as opposed to just installing it.
       `asdf` and other runtime management tools are pretty popular, and all
       we care about is that the Java version is accessible.
    4. Remove calls to `sudo`. Check to see if CocoaPods exists, if it
       doesn't install it using Homebrew which doesn't require `sudo`.
    38d9610c