Thursday, August 11, 2016

signing apk with platform key


The Android tree includes test-keys under build/target/product/security



Use <root-of-android-source-tree>/out/host/linux-x86/framework/signapk.jar to sign your app using
platform.x509.pem and platform.pk8 in <root-of-android-source-tree>/build/target/product/security
java -jar signapk.jar platform.x509.pem platform.pk8 YourApp-unsigned.apk YourApp-signed.apk


java -jar out/host/linux-x86/framework/signapk.jar ./build/target/product/security/platform.x509.pem ./build/target/product/security/platform.pk8 hmd_service.apk hmd_service-signed.apk

No comments:

Post a Comment