File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -122,6 +122,17 @@ jobs:
122122 sudo udevadm control --reload-rules
123123 sudo udevadm trigger --name-match=kvm
124124
125+ - name : Install emulator host dependencies
126+ # Newer emulator builds dlopen host libs on Linux; package list from Android emulator
127+ # container scripts (Ubuntu 24.04 noble package names on ubuntu-latest):
128+ # https://github.com/jpcottin/android-emulator-container-scripts/blob/0ec0fd00ff51aa09f83b20809f842b2c45293d99/emu/templates/Dockerfile.emulator#L30-L36
129+ run : |
130+ sudo apt-get update
131+ sudo apt-get install -y --no-install-recommends \
132+ libdbus-1-3 libfontconfig1 libgcc-s1 libgl1 libncurses6 libnss3 libpulse0 \
133+ libx11-6 libx11-xcb1 libxcb-cursor0 libxcb1 libxcomposite1 libxcursor1 libxdamage1 \
134+ libxext6 libxfixes3 libxi6 libxkbfile1 pulseaudio socat zlib1g
135+
125136 # https://github.com/actions/checkout/releases
126137 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
127138 with :
@@ -240,7 +251,6 @@ jobs:
240251 target : ${{ matrix.target }}
241252 disable-spellchecker : true
242253 arch : ${{ matrix.arch }}
243- emulator-build : 14214601 # needed as of 20251205 when emulator 36.3.10.0 (build_id 14472402) released
244254 pre-emulator-launch-script : |
245255 sudo mkdir /mnt/avd
246256 sudo chown $USER:$USER /mnt/avd
You can’t perform that action at this time.
0 commit comments