How to generate unique key on Android platform
2015-03-26 14:13
417 查看
Google Android default using testkey, so we can change to our release key, details as below:
Step 1 :
cd /android_src/development/tools
Step 2 :
you'll get the output from you termial :
make_key parameter explanations
Step 1 :
cd /android_src/development/tools
Step 2 :
./make_key releasekey '/C=CN/ST=JiangSu/L=NanJing/O=Company/OU=Department/CN=YourName/emailAddress=YourE-mailAddress'
you'll get the output from you termial :
Enter password for 'releasekey' (blank for none; password will be visible): 123456 <--- set your password, here is 123456 creating releasekey.pk8 with password [123456] Generating RSA private key, 2048 bit long modulus ..+++ ....................................................+++ e is 65537 (0x10001)Step 3 :
development/tools$ ls apkcheck etc1tool labpretest recovery_l10n templates axl findunused line_endings <strong>releasekey.pk8</strong> yuv420sp2rgb elftree hosttestlib make_key <strong>releasekey.x509.pem</strong> emulator idegen mkstubs rmtypedefsreleaseky.pk8 means private-key and releasekey.x509.pem means public-key.
make_key parameter explanations
Usage: ./make_key <name> <subject> <name> contains: releasekey/ media/ shared/ platform <subject>: '/C=CN/ST=JiangSu/L=NanJing/O=Company/OU=Department/CN=YourName/emailAddress=YourE-mailAddress' C ---> Country Name (2 letter code) ST ---> State or Province Name (full name) L ---> Locality Name (eg, city) O ---> Organization Name (eg, company) OU ---> Organizational Unit Name (eg, section) CN ---> Common Name (eg, your name or your server’s hostname) emailAddress ---> Contact email address
相关文章推荐
- How to add a new key on android
- how to cross compile valgrind on android platform
- How to generate an SSH key on Windows using PuTTY?
- How to dump, extract and iasl acpi tables on x86 platform
- How to activate snap group account on Symbian 9.x upwards platform
- How to set up Eclipse with Android SDK on Ubuntu linux 9.04/9.10 (updated)
- In Android how to display one view as overlay on top of another view?
- How to install Google Apps (GApps) on your Android Device / Phone
- Tips: How to relink Oracle 9ias on Unix platform
- How to compile Android 2.3 on Ubuntu 10.04 32bit
- How to run test cases on android-ndk
- How to Build Android Applications Based on FFmpeg by An Example
- How To Use RMAN CONVERT DATABASE on Source Host for Cross Platform Migration
- What Is Bootloader And How To Unlock Bootloader On Android Phones
- How to Run Android Applications on Ubuntu
- How to compile Android 2.3 on Ubuntu 10.04 32bit
- How to resolve Android Camera Preview on Emulator show white and black square only?
- How to get unique visitors per page on Google Analytics?
- How to generate the short unique id using C#
- How to generate links to the android Classes' reference in javadoc?