Changes between Version 16 and Version 17 of BuildingSeattleOnAndroid

Changes between Version 16 and Version 17 of BuildingSeattleOnAndroid

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

Changes between Version 16 and Version 17 of BuildingSeattleOnAndroid

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

Changes between Version 16 and Version 17 of BuildingSeattleOnAndroid

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

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingSeattleOnAndroid

    v16 v17  
    7070== Signing and Distributing the APK == 
    7171 
    72 See the following docs: 
     72First, build the APK with {{{ ant release }}}.   Then you need to sign the release.   You will need to use the existing key / key store for the seattle project.   To sign using this, do: 
     73 
     74{{{  $ jarsigner -verbose -sigalg MD5withRSA -digestalg SHA1 -keystore my-release-key.keystore ~/seattle/trunk/dist/android/SeattleOnAndroid/bin/SeattleOnAndroid-release-unsigned.apk soakey 
     75}}} 
     76 
     77Note that the location to the unsigned APK file may be different on your system. 
     78 
     79You can now verify the file is signed using {{{ jarsigner -verify SeattleOnAndroid-release-unsigned.apk }}}.   It should say {{{ jar verified. }}} 
     80 
     81 
     82The final step is to align the jar file.   To do this, use the zipalign program in the tools directory.   The command will look like this: 
     83 
     84{{{ zipalign -v 4 SeattleOnAndroid-release-unsigned.apk SeattleOnAndroid-release-aligned.apk }}} 
     85 
     86You are now ready to upload the APK.   If you have questions or problems, see the following docs for more information: 
    7387 
    7488http://developer.android.com/tools/publishing/app-signing.html 
    7589 
    7690http://developer.android.com/tools/publishing/preparing.html 
     91 
     92http://developer.android.com/distribute/googleplay/publish/preparing.html