apk3: adb can't handle more than 8000 files per directory
I have run into this bottleneck today (the include/config
directory in Linux kernel development headers). Trying to create a package with more than 8000 files per directory will trigger an assertion failure (or an adb header failure at a later point if apk is compiled with assertions off) through adb_wa_append_obj
(because .num_fields
is initialized to APK_MAX_MANIFEST_FILES
, which is 8000).
Edited by nina