User Tools

Site Tools


development:compiling:player:android

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
development:compiling:player:android [2015/03/21 12:51] – Fix two typos 95.122.42.137development: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 et follow the official instructions to install the Android SDK :+Download and follow the official instructions to install the Android SDK :
 http://developer.android.com/sdk/installing/index.html?pkg=tools http://developer.android.com/sdk/installing/index.html?pkg=tools
  
-In the SDK directory, execute the "android" file, it displays a GUI. Use it to download the API 10 (or later).+In the SDK directory, execute the "android" file, it displays a GUI. Use it to download the API 12 (or later).
 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/local/armeabi-v7a/*.a libs/armeabi-v7a/  cp obj/local/armeabi-v7a/*.a libs/armeabi-v7a/
- wget http://download.sourceforge.net/project/boost/boost/1.55.0/boost_1_55_0.tar.gz 
- tar xf boost_1_55_0.tar.gz 
- cp -r boost_1_55_0/boost/ include/boost/ 
  ## Compile icu  ## Compile icu
  # Native  # Native
Line 93: Line 90:
  git clone https://github.com/Ghabry/timidity_gus.git assets/timidity  git clone https://github.com/Ghabry/timidity_gus.git assets/timidity
  
-You have to specify the API Target you will use to build the Player, for now we use the API 10, use "android list targets" to know the number associated with installed API. We assume this number is 1 :+You have to specify the API Target you will use to build the Player, for now we use the API 12, use "android list targets" to know the number associated with installed API. We assume this number is 1 :
  android update project --path "." --target 1  android update project --path "." --target 1
 +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.1426942319.txt.gz · Last modified: 2015/03/21 12:51 by 95.122.42.137

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki