I'd like to improve the startup time of the image I'm building. As there're 
a lot of prebuilt apps, I lose time due to the predexing that happens 
during the start up.

So I'd like to, during the build time, predex all the prebuilt, 
presigned(Signature Scheme v2) apk that I'm including into AOSP as 
privileged-apps.
What I've noticed is that all the PRESIGNED apps are zipaligned by AOSP 
build system. That means, the apk that ends up in the image at 
system/priv-app/ won't be the same as the original apk, and so
the apk at system/priv-app will not verify with apksigner - `java -jar 
sdk-tools-linux/build-tools/29.0.2/lib/apksigner.jar verify -v 
--print-certs /path/to/system/priv-app/apk.apk` and such apps are crashing.

My question is: Is it possible to predex a presigned apk with signature 
scheme v2 at all?

Regards,
Venkat.

-- 
-- 
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/03089f1d-31e2-42c1-87e7-0158d74674a1%40googlegroups.com.

Reply via email to