Check logs. It may be the case when your apk signing is broken.

There may be different issues, but if you will find problem with apk 
signature in logs, I can suggest 2 options:
1.
You have *presigned=true*, but you indicate that you provide *certificate*. 
That looks strange for me.
Set *presigned=false*

2. 
AOSP wants presigned apps to have uncompressed *.so and *.dex (if not, it 
will uncompress it, and break signing for presigned apk), so build apk with
*packagingOptions {*
*    jniLibs.useLegacyPackaging = false*

*    dex.useLegacyPackaging = false}*

вторник, 19 сентября 2023 г. в 05:16:41 UTC+3, V T Vishwanath: 

> I am built AOSP 13 r74 branch. Target is sdk_phone_x86_64 which is 
> compatible for the emulator. I am trying to add MSEdge.apk as prebuild 
> system privileged app.
>
> I have added this to /packages/apps/MSEdge/MSEdge.apk and Also edit 
> packages/apps/MSEdge/Android.bp to below
> android_app_import {
> name: "MSEdge",
> owner: "Microsoft",
> apk: "MSEdge.apk",
> presigned: true,
> prefer: true,
> certificate: "platform", // Either presigned or certificate has to set true
> dex_preopt: {
> enabled: false,
> },
> privileged: true,
> product_specific: true, // Either product_specific or system_ext_specific 
> has to be true
> overrides: ["ExtShared"]
> system_ext_specific: true,
> }
>
> Also included the app in build/make/target/product/handheld_product.mk
> PRODUCT_PACKAGES += MSEdge
>
> Still when I build the target and run the emulator I dont see these apps.
>
> Suggest me the next step to bring the app in the emulator.
>

-- 
-- 
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/115ea482-36e8-4311-a734-8ee600d0cb74n%40googlegroups.com.

Reply via email to