When I do fdroid update it give an error of resources.arsc in the app
**I am creating and tesing an fdroid repository and i have added an official Whatsapp apk for testing in the repo and when I do fdroid update it gives the following error:**
2025-11-10 16:05:47,335 INFO: Using /home/ejbd-sql-server/Documents/AndroidSDK/build-tools/36.1.0/apksigner
2025-11-10 16:05:47,345 WARNING: repo_icon βrepo/icons/icon.pngβ does not exist! Check βconfig.ymlβ.
2025-11-10 16:05:47,863 INFO: Starting analysis on AndroidManifest.xml
2025-11-10 16:05:48,033 INFO: APK file was successfully validated!
2025-11-10 16:05:48,213 CRITICAL: Unknown exception found!
Traceback (most recent call last):
File β/usr/lib/python3/dist-packages/androguard/core/bytecodes/apk.pyβ, line 1556, in get_android_resources
return self.arsc[βresources.arscβ]
~~~~~~~~~^^^^^^^^^^^^^^^^^^
KeyError: βresources.arscβ
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File β/usr/bin/fdroidβ, line 33, in
sys.exit(load_entry_point(βfdroidserver==2.2.1β, βconsole_scriptsβ, βfdroidβ)())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File β/usr/lib/python3/dist-packages/fdroidserver/**main**.pyβ, line 230, in main
raise e
File β/usr/lib/python3/dist-packages/fdroidserver/**main**.pyβ, line 211, in main
mod.main()
File β/usr/lib/python3/dist-packages/fdroidserver/update.pyβ, line 2246, in main
apks, cachechanged = process_apks(apkcache, repodirs[0], knownapks,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File β/usr/lib/python3/dist-packages/fdroidserver/update.pyβ, line 1626, in process_apks
(skip, apk, cachethis) = process_apk(apkcache, apkfilename, repodir, knownapks,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File β/usr/lib/python3/dist-packages/fdroidserver/update.pyβ, line 1486, in process_apk
apk = scan_apk(apkfile)
^^^^^^^^^^^^^^^^^
File β/usr/lib/python3/dist-packages/fdroidserver/update.pyβ, line 1235, in scan_apk
scan_apk_androguard(apk, apk_file)
File β/usr/lib/python3/dist-packages/fdroidserver/update.pyβ, line 1322, in scan_apk_androguard
arsc = apkobject.get_android_resources()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File β/usr/lib/python3/dist-packages/androguard/core/bytecodes/apk.pyβ, line 1562, in get_android_resources
self.arsc[βresources.arscβ] = ARSCParser(self.zip.read(βresources.arscβ))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File β/usr/lib/python3/dist-packages/androguard/core/bytecodes/axml/**init**.pyβ, line 1326, in **init**
a_res_type = ARSCResType(self.buff, pc)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File β/usr/lib/python3/dist-packages/androguard/core/bytecodes/axml/**init**.pyβ, line 2205, in **init**
raise ResParserError(βreserved must be zero!β)
androguard.core.bytecodes.axml.ResParserError: reserved must be zero!
**All the older versions of the applications are working fine but the latest versions are not,
Kindly identify and help me out with this problem**