How to deal with the android BUILD_PREBUILT?

249 views
Skip to first unread message

tiany

unread,
Mar 14, 2012, 12:48:03 PM3/14/12
to android-...@googlegroups.com
If I have a third part apk signed with their key. 
I made it prebuilt with our device, in ics, this should be done with BUILD_PREBUILT, the apk must be signed with our key,
 but when the user get the device how could they upgrade the apk with the newest version the third party provided? (the certificates is not same).  

Magnus Bäck

unread,
Mar 14, 2012, 4:13:28 PM3/14/12
to android-...@googlegroups.com
On Wednesday, March 14, 2012 at 12:48 EDT,
tiany <lonel...@gmail.com> wrote:

Don't resign their APK. You shouldn't have to, and if you do
you're effectively vouching for that APK. To avoid resigning
third-party APKs, set LOCAL_CERTIFICATE to PRESIGNED (see
build/core/prebuilt.mk).

--
Magnus B�ck
ba...@google.com

tiany

unread,
Mar 19, 2012, 8:23:16 AM3/19/12
to android-...@googlegroups.com
I missed that, thanks a lot.

--
Magnus B�ck
ba...@google.com

Reply all
Reply to author
Forward
0 new messages