mirror of
https://github.com/MGislv/NekoX.git
synced 2024-07-04 11:13:36 +00:00
Remove useless SDK fixes
This commit is contained in:
parent
5dcfafeca4
commit
7e6e1498ec
2
.github/workflows/debug.yml
vendored
2
.github/workflows/debug.yml
vendored
|
@ -302,8 +302,6 @@ jobs:
|
||||||
sed -i -e "s/16384/6144/g" gradle.properties
|
sed -i -e "s/16384/6144/g" gradle.properties
|
||||||
echo "sdk.dir=${ANDROID_HOME}" >> local.properties
|
echo "sdk.dir=${ANDROID_HOME}" >> local.properties
|
||||||
echo "ndk.dir=${ANDROID_HOME}/ndk-bundle" >> 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
|
- name: Gradle cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
|
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -447,8 +447,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
sed -i -e "s/16384/6144/g" gradle.properties
|
sed -i -e "s/16384/6144/g" gradle.properties
|
||||||
echo "ndk.dir=${ANDROID_HOME}/ndk-bundle" > 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
|
- name: Gradle cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -8,15 +8,6 @@ if [ -z "$ANDROID_HOME" ]; then
|
||||||
fi
|
fi
|
||||||
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"
|
_NDK="$ANDROID_HOME/ndk/21.4.7075529"
|
||||||
[ -f "$_NDK/source.properties" ] || _NDK="$ANDROID_NDK_HOME"
|
[ -f "$_NDK/source.properties" ] || _NDK="$ANDROID_NDK_HOME"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user