Source compiled XBMC notes based on Android platform

Source: Internet
Author: User
Tags git clone

Refer to the official website: https://github.com/xbmc/xbmc/blob/master/docs/README.android 1. Compile the host system Ubuntu (12.04) 64bit2. Install the necessary tools on Ubuntu 2.1. Basic Toolkit sudo apt-get install build-essential default-jdk git curl autoconf unzip zip Zlib1g-dev gawk Gper F CMake ia32-libs after the compile times cannot find curl, because there is no installation Libcurl-dev

Could not find curl But curl is already installed #170

So it's best to install Libcurl-dev first.

sudo apt-get install Libcurl-dev

2.2 Installing the JDK and JREOPENJDK-6-JDK (Java version "1.6.0_27")
Openjre-6-jre (Java Version "1.6.0_27") updates the GCC to 4.8 default Ubuntu comes with the GCC version is 4.4, we need to synchronize to update to the official specified version, the simple method can be updated by the PPA, the method is as follows:/HTTP Linuxg.net/how-to-install-gcc-4-8-1-on-ubuntu-linux-mint-and-elementary-os-via-ppa/3. Build Android Development Environment 3.1 Download the latest SDK and NDK, unzip or follow the directory below/opt/android-ndk-r10d
/opt/android-sdk-linux 3.2 Installation platform, Platform-tool and build-tools./android update sdk-u-t Platform,platform-tool
./android Update Sdk-u-T build-tools-20.0.0 the previous step, you can also run sudo through the/opt/android-sdk-linux/tools directory./android SDK command to open the Ddms tool , there are selected updates for the corresponding tool, do not need to update all versions
Note: Because the Android website is domestic wall, so the above download SDK and installation will be a bit troublesome, can go to third-party website download and update (may not be up-to-date)  3.3 install Android tool chain  # cd /opt/ android-ndk-r10d# ls platforms# cd build/tools#./make-standalone-toolchain.sh--ndk-dir=. /.. /--INSTALL-DIR=/OPT/ARM-LINUX-ANDROIDEABI-4.8-VANILLA/ANDROID-17--PLATFORM=ANDROID-17--toolchain= arm-linux-androideabi-4.8--system=linux-x86_64 3.4 creates a new debug key for the APK signature  # keytool-genkey-keystore ~/. Android/debug.keystore-v-alias \       androiddebugkey-dname "Cn=android debug,o=android,c=us"- Keypass \       android-storepass android-keyalg rsa-keysize 2048-validity 10000 4. Get XBMC Source    # cd $HOME    # git clone git://github.com/xbmc/xbmc.git kodi-android   # CD kodi -android   # git submodule update--init addons/skin.re-touched  5. Compilation Step 5.1  building dependencies # cd $HOME/kodi-android/tools/depends#./bootstrap # ./configure  --with-tarballs=/home/skyworth/xbmc-tarballs --host=arm-linux-androideabi --with-sdk-path=/opt/android-sdk-linux --with-ndk=/ opt/android-ndk-r10d --with-toolchain=/opt/arm-linux-androideabi-4.8-vanilla/android-17 --prefix=/ home/skyworth/xbmc-depends --with-sdk=android-17# make-j 10 5.2. Building kodi# cd $HOME/kodi-android# make-c tools/depends/target/xbmc# make# make apk 

Source compiled XBMC notes based on Android platform

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.