I'm having this problem since last year 2022. I still debugging up to now 
and I don't know what's causing it.

On Thursday, May 4, 2023 at 3:54:08 AM UTC+8 TblS wrote:

> I'm trying to add some prebuilt apps to my AOSP built, using this 
> blueprint:
>
> android_app_import {
>     name: "App",
>     apk: "App.apk",
>     presigned: true,
>     dex_preopt: {
>         enabled: false,
>     },
>     privileged: true,
>     product_specific: true,
> }
>
> Two of them work fine, but others don't — the APK are being changed during 
> the build.
>
> Their md5 differ and it looks like the signature is stripped out, because 
> if I pull the APK from the device and try to install it with adb install, 
> it says that INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect 
> certificates from /data/app/vmdl476333160.tmp/base.apk: META-INF/APP.SF 
> indicates /data/app/vmdl476333160.tmp/base.apk is signed using APK 
> Signature Scheme v2, but no such signature was found. Signature stripped?
>
> How to fix it?
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/ea488b96-f076-4788-8fff-2c26007fe713n%40googlegroups.com.

Reply via email to