Skip to content

Commit 5fe82f0

Browse files
committed
build: optimized and fixed building configuration to Android
1 parent 803a7b2 commit 5fe82f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

android-configure

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ NDK_PATH=$1
1717
ARCH="$2"
1818
ANDROID_SDK_VERSION=$3
1919

20-
if [ $ANDROID_SDK_VERSION -lt 23 ]; then
21-
echo "$ANDROID_SDK_VERSION should equal or later than 23(Android 6.0)"
20+
if [ $ANDROID_SDK_VERSION -lt 24 ]; then
21+
echo "$ANDROID_SDK_VERSION should equal or later than 24 (Android 7.0)"
2222
fi
2323

2424
CC_VER="4.9"
2525

2626
case $ARCH in
2727
arm)
2828
DEST_CPU="arm"
29-
TOOLCHAIN_NAME="armv7-linux-androideabi"
29+
TOOLCHAIN_NAME="armv7a-linux-androideabi"
3030
;;
3131
x86)
3232
DEST_CPU="ia32"

0 commit comments

Comments
 (0)