Changes between Version 5 and Version 6 of BuildingSeattleOnAndroid

Changes between Version 5 and Version 6 of BuildingSeattleOnAndroid

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

Changes between Version 5 and Version 6 of BuildingSeattleOnAndroid

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

Changes between Version 5 and Version 6 of BuildingSeattleOnAndroid

Show
Ignore:
Timestamp:
08/04/12 01:34:07 (7 years ago)
Author:
justinc
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingSeattleOnAndroid

    v5 v6  
    1515 
    1616[[BR]] 
    17 == Getting the APK source == 
     17== Getting Seattle On Android Ready To Build == 
    1818---- 
    1919 
    20 The APK source for Seattle On Android is located in SVN under {{{trunk/dist/android/SeattleOnAndroid}}}.   You will need to create a {{{local.properties}}} file in this directory which refers to your SDK install location.   The contents of this file will look like this: 
     20The APK source for Seattle On Android is located in SVN under {{{trunk/dist/android/SeattleOnAndroid}}}.   You will need to create a {{{local.properties}}} file in this directory which refers to your SDK install location.   The contents of this file will look something like this, be sure to replace the sdk.dir with the appropriate one for your system: 
    2121{{{  
    2222target=android-7 
     
    2424}}} 
    2525 
     26'''Do not use '~' characters as ant does not seem to support them well''' 
    2627 
    27 '''Do not use '~' characters as ant does not seem to support them well''' 
     28Now you need to update the project so that it is ready to build.   From the SeattleOnAndroid directory, do: 
     29 
     30{{{ 
     31android update project --name SeattleOnAndroid --target android-16 --path .  
     32}}} 
     33 
     34Note that if android (from your isn't in your path you will need to specify the full path for it.   
     35 
    2836 
    2937[[BR]] 
     
    3139---- 
    3240 
    33 At this point, you should be able to build the APK by running {{{ant release}}} from the {{{trunk/dist/android/SeattleOnAndroid}}} directory. 
     41At this point, you should be able to build the APK by running {{{ant debug}}} from the {{{trunk/dist/android/SeattleOnAndroid}}} directory.   This will create a release that is signed with the debug key. 
     42 
     43You can also do {{{ant release}}} to create a version of the APK that is ready for release, but is unsigned. 
     44 
     45 
     46[[BR]] 
     47== Testing the APK == 
     48---- 
     49 
     50More to come. 
     51 
     52[[BR]] 
     53== Signing and Distributing the APK == 
     54 
     55More to come.