development:compiling:player:android
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
development:compiling:player:android [2015/03/12 16:49] – Clean of the code blister | development:compiling:player:android [2016/01/01 16:35] – external edit 127.0.0.1 | ||
---|---|---|---|
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 65: | Line 65: | ||
===== 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 76: | ||
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 88: | Line 92: | ||
#Download of timidity | #Download of timidity | ||
git clone https:// | git clone https:// | ||
- | # | ||
- | GIT_DESCRIBE_VERSION=`git describe | cut -d - -f -2 | sed s/-/./g` | ||
- | GIT_COMMIT_COUNT=`git rev-list HEAD --count` | ||
- | mv AndroidManifest.xml AndroidManifest.orig.xml | ||
- | cat AndroidManifest.orig.xml | sed -e ' | ||
- | 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.txt · Last modified: 2016/04/01 17:33 by fdelapena