apkeep icon indicating copy to clipboard operation
apkeep copied to clipboard

Multi-arch APKs not supported with f-droid

Open BarbossHack opened this issue 4 months ago • 0 comments

VLC has 4 variant for the same version on f-droid :

  • x86_64
  • arm64-v8a
  • x86
  • armeabi-v7a

https://f-droid.org/fr/packages/org.videolan.vlc/

Screenshot of apks variants

2024-10-03_22-41

When downloading with apkeep, it will always download the first variant found, here x86_64 :

image

Actually, there is no option to select the arm64-v8a variant (for example).

In fact, the following code always select the first element of the app_array : https://github.com/EFForg/apkeep/blob/704af2ea0d0887fbb15b23eda565b97fca1dba93/src/fdroid.rs#L264

If we print the app_array struct, we can see all variants :

Click to expand

image

So it is possible to select a wanted arch by search for a nativecode that contains arm64_v8 for a specific version for example

BarbossHack avatar Oct 03 '24 21:10 BarbossHack