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/d1e3a5cb-84a5-43bf-a073-f8ee4d808714n%40googlegroups.com.

Reply via email to