Skip to content

Commit

Permalink
ANDROID: Point out unset $ANDROIDSDK in SETUP file
Browse files Browse the repository at this point in the history
  • Loading branch information
mgorges committed Sep 3, 2020
1 parent 3f40d22 commit 631a14e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions targets/android/build-binary
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ for m in $modules; do
done
android_subst `locatedir apps/$SYS_APPNAME`

if [ "X$ANDROIDSDK" = "X" ]; then
echo "ERROR: \$ANDROIDSDK is empty - ensure your SETUP file returns a valid sdk path."
exit
fi

use_android_tool=yes

if [ -x "$ANDROIDSDK/tools/bin/avdmanager" ]; then
Expand Down

0 comments on commit 631a14e

Please sign in to comment.