development:compiling:player:android
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
development:compiling:player:android [2015/03/17 15:07] – removed the useless git_describe part blister | development:compiling:player:android [2016/04/01 17:33] (current) – remove boost fdelapena | ||
---|---|---|---|
Line 6: | Line 6: | ||
==== a) Install the Android SDK ==== | ==== a) Install the Android SDK ==== | ||
- | Download | + | Download |
http:// | http:// | ||
- | In the SDK directory, execute the " | + | In the SDK directory, execute the " |
If you want to launch the application on a Virtual Machine, download the ARM EABI System Image. | If you want to launch the application on a Virtual Machine, download the ARM EABI System Image. | ||
Line 39: | Line 39: | ||
ndk-build | ndk-build | ||
cp obj/ | cp obj/ | ||
- | wget http:// | ||
- | tar xf boost_1_55_0.tar.gz | ||
- | cp -r boost_1_55_0/ | ||
## Compile icu | ## Compile icu | ||
# Native | # Native | ||
Line 65: | Line 62: | ||
===== 2) Build the Android Port ===== | ===== 2) Build the Android Port ===== | ||
- | Return to your working directory (which should | + | Return to your working directory (which should |
Export the android-toolchain directory, it should be : | Export the android-toolchain directory, it should be : | ||
Line 76: | Line 73: | ||
keytool -genkey -v -keystore easyrpg.keystore -alias nightly -keyalg RSA -keysize 2048 -validity 10000 | keytool -genkey -v -keystore easyrpg.keystore -alias nightly -keyalg RSA -keysize 2048 -validity 10000 | ||
Export the path of the generated keystore. | Export the path of the generated keystore. | ||
- | export PATH_KEYSTORE=($pwd)/ | + | export PATH_KEYSTORE=$(pwd)/ |
And the password you gave when you generated the keystore : | And the password you gave when you generated the keystore : | ||
export MDP=the_password | export MDP=the_password | ||
+ | |||
+ | Clone the Player repository : | ||
+ | git clone https:// | ||
+ | cd Player | ||
Then execute this script : | Then execute this script : | ||
Line 89: | Line 90: | ||
git clone https:// | git clone https:// | ||
- | You have to specify the API Target you will use to build the Player, for now we use the API 10, use " | + | You have to specify the API Target you will use to build the Player, for now we use the API 12, use " |
android update project --path " | android update project --path " | ||
+ | NB : We're targeting API 12 (to have gamepad support from SDL lib), but the minimum supported SDK is API 10. | ||
Build the project : | Build the project : |
development/compiling/player/android.1426604827.txt.gz · Last modified: 2015/03/17 15:07 by blister