Cant add APK to repo and then update

When I add an APK to the repo folder and then run fdroid update -c or fdroid update, I get the following error message:

CRITICAL: Unknown exception found!
Traceback (most recent call last):
  File "/usr/bin/fdroid", line 164, in <module>
  File "/usr/bin/fdroid", line 138, in main
  File "/usr/lib/python3/dist-packages/fdroidserver/", line 1918, in main
    apks, cachechanged = process_apks(apkcache, repodirs[0], knownapks, options.use_date_from_apk)
  File "/usr/lib/python3/dist-packages/fdroidserver/", line 1445, in process_apks
    use_date_from_apk, ada, True)
  File "/usr/lib/python3/dist-packages/fdroidserver/", line 1318, in process_apk
    apk = scan_apk(apkfile)
  File "/usr/lib/python3/dist-packages/fdroidserver/", line 1053, in scan_apk
    scan_apk_androguard(apk, apk_file)
  File "/usr/lib/python3/dist-packages/fdroidserver/", line 1229, in scan_apk_androguard
    density = screen_resolutions[resolution]
KeyError: 'v24'

Can anyone help me out?

This is a bug that has been fixed in more recent fdroidserver versions. How did you install fdroidserver? Using it from git will work, but there are other options.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.