Domanda

In my Android ROM I've generated my own signing keys and also added an additional key (defined in system/external/sepolicy/keys.conf) that I would like to sign certain applications with. However, I don't know how to do just that? Everything seems to get signed with the Platform key by default, so not sure how to specify the key. Is this something I need to do in the makefile or post ROM build?

Thanks!

È stato utile?

Soluzione

Solution turned out to be very simple. Simply specify the signing key in the Android.mk for the application by using the LOCAL_CERTIFICATE tag.

LOCAL_CERTIFICATE := my_key
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top