1
0
mirror of https://github.com/MGislv/NekoX.git synced 2024-07-02 10:33:36 +00:00

Remove useless SDK fixes

This commit is contained in:
luvletter2333 2021-12-02 16:02:41 +08:00
parent 5dcfafeca4
commit 7e6e1498ec
No known key found for this signature in database
GPG Key ID: A26A8880836E1978
3 changed files with 0 additions and 13 deletions

View File

@ -302,8 +302,6 @@ jobs:
sed -i -e "s/16384/6144/g" gradle.properties
echo "sdk.dir=${ANDROID_HOME}" >> local.properties
echo "ndk.dir=${ANDROID_HOME}/ndk-bundle" >> local.properties
- name: Fix Compile SDK 31.0.0
run: ./run init env
- name: Gradle cache
uses: actions/cache@v2
with:

View File

@ -447,8 +447,6 @@ jobs:
run: |
sed -i -e "s/16384/6144/g" gradle.properties
echo "ndk.dir=${ANDROID_HOME}/ndk-bundle" > local.properties
- name: Fix Compile SDK 31.0.0
run: ./run init env
- name: Gradle cache
uses: actions/cache@v2
with:

View File

@ -8,15 +8,6 @@ if [ -z "$ANDROID_HOME" ]; then
fi
fi
# Fix DX is missing in compile SDK 31.0.0
if [ ! -f $ANDROID_HOME/build-tools/31.0.0/dx ]; then
echo "Copy dx From compile SDK 30.0.3"
cp $ANDROID_HOME/build-tools/30.0.3/dx $ANDROID_HOME/build-tools/31.0.0/dx
fi
if [ ! -f $ANDROID_HOME/build-tools/31.0.0/lib/dx.jar ]; then
echo "Copy lib/dx.jar From compile SDK 30.0.3"
cp $ANDROID_HOME/build-tools/30.0.3/lib/dx.jar $ANDROID_HOME/build-tools/31.0.0/lib/dx.jar
fi
_NDK="$ANDROID_HOME/ndk/21.4.7075529"
[ -f "$_NDK/source.properties" ] || _NDK="$ANDROID_NDK_HOME"