daaaa
Some checks are pending
Generated APK AAB (Upload - Create Artifact To Github Action) / build (push) Waiting to run
Some checks are pending
Generated APK AAB (Upload - Create Artifact To Github Action) / build (push) Waiting to run
This commit is contained in:
parent
941db4df29
commit
f831cf26d5
@ -42,7 +42,7 @@ jobs:
|
||||
curl --compressed --location --output tools.zip https://github.com/lzhiyong/android-sdk-tools/releases/download/34.0.3/android-sdk-tools-static-aarch64.zip
|
||||
unzip -d tools -n -q tools.zip
|
||||
rm -f tools.zip
|
||||
cp tools/platform-tools/adb /path/to/android-sdk/platform-tools/adb
|
||||
cp tools/platform-tools/adb $ANDROID_HOME/platform-tools/adb
|
||||
rm -fr tools
|
||||
shell: bash
|
||||
|
||||
@ -50,13 +50,13 @@ jobs:
|
||||
- name: Install Emulator
|
||||
run: |
|
||||
curl --compressed --location --output emulator.zip $(curl --location --silent https://ci.android.com/builds/submitted/11162281/emulator-linux_aarch64/latest/sdk-repo-linux_aarch64-emulator-11162281.zip | grep -o 'https://storage[^"]*' | sed 's/\\u0026/\&/g')
|
||||
unzip -d /path/to/android-sdk -n -q emulator.zip
|
||||
unzip -d $ANDROID_HOME -n -q emulator.zip
|
||||
rm -f emulator.zip
|
||||
cp /path/to/android-sdk/platform-tools/package.xml /path/to/android-sdk/emulator/package.xml
|
||||
cp $ANDROID_HOME/platform-tools/package.xml $ANDROID_HOME/emulator/package.xml
|
||||
sed -i \
|
||||
-e 's|path="[a-zA-Z-]*"|path="emulator"|g' \
|
||||
-e 's|<display-name>Android .*<\/display-name>|<display-name>Android Emulator<\/display-name>|g' \
|
||||
/path/to/android-sdk/emulator/package.xml
|
||||
$ANDROID_HOME/emulator/package.xml
|
||||
echo 'Vulkan = off\nGLDirectMem = on' >> ~/.android/advancedFeatures.ini
|
||||
shell: bash
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user