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!

有帮助吗?

解决方案

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
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top