diff options
Diffstat (limited to 'build/android/envsetup.sh')
-rwxr-xr-x | build/android/envsetup.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/build/android/envsetup.sh b/build/android/envsetup.sh index 6c4c563..bfb2143 100755 --- a/build/android/envsetup.sh +++ b/build/android/envsetup.sh @@ -49,8 +49,11 @@ export ANDROID_TOOLCHAIN="${ANDROID_NDK_ROOT}/toolchains/arm-linux-androideabi-4 export ANDROID_SDK_VERSION="15" -# Add Android SDK's platform-tools to system path. -export PATH="${PATH}:${ANDROID_SDK_ROOT}/platform-tools/" +# Add Android SDK/NDK tools to system path. +export PATH=$PATH:${ANDROID_NDK_ROOT} +export PATH=$PATH:${ANDROID_SDK_ROOT}/tools +export PATH=$PATH:${ANDROID_SDK_ROOT}/platform-tools + if [ ! -d "${ANDROID_TOOLCHAIN}" ]; then echo "Can not find Android toolchain in ${ANDROID_TOOLCHAIN}." >& 2 |