Changes between Version 44 and Version 45 of AndroidPort
- Timestamp:
- Jan 2, 2012, 8:24:51 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AndroidPort
v44 v45 113 113 mkdir ~/android 114 114 }}} 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.: 115 Next, 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.: 118 116 119 117 {{{ … … 121 119 tar -xvf android-sdk_r16-linux.tgz 122 120 }}} 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]. 121 You 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]. 126 122 127 123 If 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. 128 124 129 N ext, you have toget 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:125 Now 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: 130 126 131 127 {{{ 132 128 $ sudo apt-get install git 133 129 }}} 134 Then [http://source.android.com/source/downloading.html install Google's Repo tool]. Once Repo is installed in your path, create a workingdirectory and download the code:130 Then [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: 135 131 136 132 {{{ 137 $ cd ~/android 133 $ mkdir ~/android/source 134 $ cd ~/android/source 138 135 $ repo init -u https://android.googlesource.com/platform/manifest 139 136 $ repo sync 140 137 }}} 138 139 141 140 The download may take up towards an hour.