couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "AndroidEnv" by MattAdams
Date Sun, 30 Jan 2011 04:22:47 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "AndroidEnv" page has been changed by MattAdams.
http://wiki.apache.org/couchdb/AndroidEnv

--------------------------------------------------

New page:
For use with [[Installing_on_Android]].

This script simply sets up a good environment for building with Android.

{{{
paths="
$HOME/software/android/scripts
$HOME/software/android/other/apk
$HOME/software/android/sdk/platform-tools
$HOME/software/android/sdk/platforms/android-8/tools
$HOME/software/android/sdk/sources/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin
$HOME/software/android/sdk/tools
"

for i in $paths
do
    if [[ -d $i ]]; then
        PATH=$PATH:$i
    fi
done

export PATH

# Java stuff for building Android from sources
echo "For building Android from sources:"
echo "$ export JAVA_HOME=$HOME/software/jdk1.5.0_22"
echo "$ export ANDROID_JAVA_HOME=\$JAVA_HOME"
echo "$ export PATH=\$JAVA_HOME/bin:$PATH"
echo "$ cd $HOME/software/android/sdk/sources"
echo "$ source build/envsetup.sh"
echo "$ lunch"
echo "$ make"
}}}

Mime
View raw message