ansible-role--bashrc/files/bashrc.d/55-dev-android.sh

16 lines
391 B
Bash
Raw Permalink Normal View History

2021-12-31 12:03:38 +00:00
#!/bin/sh
###
# Set up Android environment
#
ANDROIDDIR="$HOME/src/Android"
if [ -d "$ANDROIDDIR" ]; then
export PATH=$ANDROIDDIR/Sdk/platform-tools:$ANDROIDDIR/Sdk/tools:$PATH
fi
if [ -d "$HOME/android-sdk-linux" ]; then
export PATH="$HOME/android-sdk-linux/build-tools/19.1.0:$PATH"
export PATH="$HOME/android-sdk-linux/tools:$PATH"
export ANDROID_HOME="$HOME/android-sdk-linux/"
fi