Changes between Version 8 and Version 9 of BuildingSeattleOnAndroid

Changes between Version 8 and Version 9 of BuildingSeattleOnAndroid

Please note that these Trac pages are no longer being updated. Wiki contents/documentation have moved to GitHub.

Changes between Version 8 and Version 9 of BuildingSeattleOnAndroid

Please note that these Trac pages are no longer being updated. Wiki contents/documentation have moved to GitHub.

Changes between Version 8 and Version 9 of BuildingSeattleOnAndroid

Show
Ignore:
Timestamp:
08/07/12 13:47:20 (7 years ago)
Author:
justinc
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingSeattleOnAndroid

    v8 v9  
    5555== Signing and Distributing the APK == 
    5656 
    57 More to come. 
     57{{{ 
     58Signing and aligning the release version 
     59 
     60jarsigner -keystore <keystore_path> -storepass <keystore_pass> -keypass <key_pass> <apk_path> <key_name> -digestalg SHA1 -sigfile CERT 
     61zipalign <align> -f <unaligned_apk_path> <output_apk_path> 
     62 
     63<keystore_path>: path to keystore file 
     64<keystore_pass>: keystore password 
     65<key_pass>: key password 
     66<apk_path>: path to unsigned apk 
     67<key_name>: name of the private key to use 
     68 
     69<align>: alignment in bytes, 4 would probably be a good bet 
     70<unaligned_apk_path>: path to signed, but yet unaligned apk 
     71<output_apk_path>: output path for the aligned apk 
     72}}}