Update android builder script
This commit is contained in:
parent
21f148bea2
commit
f14d8fd921
@ -60,6 +60,7 @@ init_directories()
|
|||||||
ln -s ../android/android-ndk
|
ln -s ../android/android-ndk
|
||||||
ln -s ../android/android-sdk
|
ln -s ../android/android-sdk
|
||||||
ln -s ../android/assets
|
ln -s ../android/assets
|
||||||
|
ln -s ../android/src
|
||||||
|
|
||||||
cd -
|
cd -
|
||||||
fi
|
fi
|
||||||
@ -128,12 +129,12 @@ build_package()
|
|||||||
./make.sh -j5
|
./make.sh -j5
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
if [ ! -f ./android-$ARCH1/build/outputs/apk/android-$ARCH1-release-unsigned.apk ]; then
|
if [ ! -f ./android-$ARCH1/build/outputs/apk/release/android-$ARCH1-release-unsigned.apk ]; then
|
||||||
echo "Error: Couldn't build apk for architecture $ARCH1"
|
echo "Error: Couldn't build apk for architecture $ARCH1"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cp ./android-$ARCH1/build/outputs/apk/android-$ARCH1-release-unsigned.apk \
|
cp ./android-$ARCH1/build/outputs/apk/release/android-$ARCH1-release-unsigned.apk \
|
||||||
./android-output/SuperTuxKart-$PROJECT_VERSION-$ARCH1-unaligned.apk
|
./android-output/SuperTuxKart-$PROJECT_VERSION-$ARCH1-unaligned.apk
|
||||||
|
|
||||||
cp ./android-$ARCH1/obj/local/$ARCH2/libmain.so \
|
cp ./android-$ARCH1/obj/local/$ARCH2/libmain.so \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user