Index: platform_tools/android/bin/android_setup.sh |
diff --git a/platform_tools/android/bin/android_setup.sh b/platform_tools/android/bin/android_setup.sh |
index 9dc92f6585edb70385545bcd267f7eddd715784f..7a44317e872d06c070a38d38acc8fea2f582ac6c 100755 |
--- a/platform_tools/android/bin/android_setup.sh |
+++ b/platform_tools/android/bin/android_setup.sh |
@@ -54,7 +54,7 @@ if [ -z "$ANDROID_SDK_ROOT" ]; then |
fi |
# ant is required to be installed on your system and in your PATH |
-ant -version &> /dev/null |
+which ant &> /dev/null |
if [[ "$?" != "0" ]]; then |
echo "ERROR: Unable to find ant. Please install it before proceeding." |
exit 1 |