Fix android build

This commit is contained in:
kinichiro
2020-03-25 22:45:33 +09:00
parent b462bfdbc9
commit 8dd38c066f
2 changed files with 2 additions and 33 deletions

View File

@@ -97,11 +97,10 @@ elif [ "x$ARCH" = "xarm32" -o "x$ARCH" = "xarm64" ]; then
file apps/openssl/.libs/openssl
elif [ "x$ARCH" = "xandroid" ]; then
touch $HOME/.android/repositories.cfg
echo y | sdkmanager 'ndk-bundle'
echo y | sdkmanager 'ndk;20.1.5948944'
echo y | sdkmanager 'cmake;3.6.4111459'
echo y | sdkmanager 'lldb;3.0'
echo y | sdkmanager --update
echo y | sdkmanager --licenses
export CMAKE=$ANDROID_HOME/cmake/3.6.4111459/bin/cmake
export NINJA=$ANDROID_HOME/cmake/3.6.4111459/bin/ninja