Skip to content

Commit

Permalink
Move android.jar Check
Browse files Browse the repository at this point in the history
  • Loading branch information
iguessthislldo committed Oct 7, 2024
1 parent 4ce8171 commit 6c71540
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 7 additions & 0 deletions configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ then
else
extra_configure_flags+=("--java=${jdk}")
fi

android_jar="$android_sdk/platforms/android-$android_target_api/android.jar"
if [ ! -f "$android_jar" ]
then
echo "Error: $android_jar doesn't exist, check that android_sdk and android_target_api are correct" 1>&2
exit 1
fi
fi

if $use_security
Expand Down
6 changes: 0 additions & 6 deletions setenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -165,12 +165,6 @@ then
echo "Error: use_java is true, but android_target_api isn't set" 1>&2
exit 1
fi
android_jar="$android_sdk/platforms/android-$android_target_api/android.jar"
if [ ! -f "$android_jar" ]
then
echo "Error: $android_jar doesn't exist, check that android_sdk and android_target_api are correct" 1>&2
exit 1
fi
fi
if $use_security
then
Expand Down

0 comments on commit 6c71540

Please sign in to comment.