Changes between Version 44 and Version 45 of AndroidPort


Ignore:
Timestamp:
2012-01-02 07:24:51 (17 months ago)
Author:
afeder
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AndroidPort

    v44 v45  
    113113mkdir ~/android 
    114114}}} 
    115  
    116  
    117 Next, you need to [http://developer.android.com/sdk/installing.html install the Android SDK]. Download the SDK package from [http://developer.android.com/sdk/index.html this page] to the project directory and unpack it there, e.g.: 
     115Next, you have to [http://developer.android.com/sdk/installing.html install the Android SDK]. Download the SDK package from [http://developer.android.com/sdk/index.html this page] to the project directory and unpack it there, e.g.: 
    118116 
    119117{{{ 
     
    121119tar -xvf android-sdk_r16-linux.tgz 
    122120}}} 
    123  
    124  
    125 You also need to install a Java Development Kit (JDK) if you haven't already, e.g. [https://apps.ubuntu.com/cat/applications/oneiric/default-jdk/ the standard JDK from Ubuntu Software Center]. 
     121You also must install a Java Development Kit (JDK) if you haven't already, e.g. [https://apps.ubuntu.com/cat/applications/oneiric/default-jdk/ the standard JDK from Ubuntu Software Center]. 
    126122 
    127123If you intend to do any development, you may want to install [https://apps.ubuntu.com/cat/applications/oneiric/eclipse-platform/ Eclipse] and the [http://developer.android.com/sdk/eclipse-adt.html#installing Android Development Tools (ADT) plugin for Eclipse]. If you only intend to build the game, the command-line tools provided by the SDK should be sufficient. 
    128124 
    129 Next, you have to get the Android source code as we will need its header files to compile custom shared libraries. First make sure `git` is installed on your machine: 
     125Now get the Android source code as we will need its header files to compile custom shared libraries. First make sure `git` is installed on your machine: 
    130126 
    131127{{{ 
    132128$ sudo apt-get install git 
    133129}}} 
    134 Then [http://source.android.com/source/downloading.html install Google's Repo tool]. Once Repo is installed in your path, create a working directory and download the code: 
     130Then [http://source.android.com/source/downloading.html install Google's Repo tool]. Once Repo is installed in your path, create a new directory and download the code: 
    135131 
    136132{{{ 
    137 $ cd ~/android 
     133$ mkdir ~/android/source 
     134$ cd ~/android/source 
    138135$ repo init -u https://android.googlesource.com/platform/manifest 
    139136$ repo sync 
    140137}}} 
     138 
     139 
    141140The download may take up towards an hour.