Skip to content

Commit abe2e28

Browse files
Correctly updating the androguard deps via pip.
1 parent 58a68df commit abe2e28

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/fdroid_nightly.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,14 @@ jobs:
4848
4949
- name: Install F-Droid server and dependencies
5050
run: |
51-
# Install F-Droid server package
51+
# Installing fdroidserver and androguard.
52+
# Note: fdroidserver from apt uses the system Python environment.
53+
# The old androguard (v3.4.0a1) from apt can't parse resources.arsc in Android 16 APKs,
54+
# so we install the latest androguard in the same environment via pip.
5255
sudo apt-get update
53-
sudo apt-get install -y python3 python3-pip fdroidserver
54-
55-
# Remove system androguard if installed
56-
sudo apt-get purge -y python3-androguard || true
57-
58-
# Install the latest stable version of Androguard via pip
59-
# This is required to correctly parse modern APK resources (resources.arsc)
60-
python3 -m pip install --upgrade androguard
56+
sudo apt-get install -y python3-pip
57+
sudo apt-get install -y fdroidserver
58+
sudo python3 -m pip install --upgrade androguard
6159
6260
- name: Prepare F-Droid repo
6361
env:

0 commit comments

Comments
 (0)