GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing community.kde.org — Android/Environment - KDE Community Wiki < Android Note This page has old content. See page history.
Setup Environment for KDE on Android DevelopmentIn the following, we explain how to setup a build environment on a Linux system to be able to compile Qt and in particular KF5-based application for Android. Prerequisites / Setup of Cross-Compiling Build SystemAt first we prepare your system with all necessary packages to build your application for Android. For this tutorial we assume that everything is done in the folder /opt/android/ (you can adapt the tutorial accordingly when using another folder).
Environment VariablesThe build environment is the name for the shell in that the application is build. The shell is prepared by exporting a series of environment variables that then are picked up by the build scripts. export ADIR=/opt/android export ANDROID_NDK=$ADIR/android-ndk-r10e # note the _ROOT postfix here, different pattern export ANDROID_SDK_ROOT=$ADIR/android-sdk-linux export Qt5_android=$ADIR/Qt5.5.0/5.5/android_armv7/ export PATH=$ADIR/android-sdk-linux/platform-tools/:$PATH # adapt the following path to your ant installation export ANT=/usr/bin/ant # adapt the following path to your openjdk location, eg: # openSUSE: /usr/lib64/jvm/java (needs default version being properly set, see notes below) # Debian: /usr/lib/jvm/java-7-openjdk-amd64 export JAVA_HOME=/usr/lib/jvm/java-7-openjdk/ Some notes:
|
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |