Ok,
preinstalled flag didnt work... seems like
soong does not support it, though
make seems should.
Anyway, I finally was able to fix this.
It seems that AOSP wants presigned apps to have uncompressed so and dex (if not, it will uncompress it, and break signing for presigned apk), so build it with
packagingOptions {
jniLibs.useLegacyPackaging = false
dex.useLegacyPackaging = false
}
That helped in my case.
пятница, 15 сентября 2023 г. в 17:17:04 UTC+3, Андрейка: