Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
executable file 20 lines (16 sloc) 872 Bytes
# Set here your own NDK path if needed
# export PATH=$PATH:~/src/endless_space/android-ndk-r4b
# Set environment to CrystaX NDK with RTTI and exceptions instead of original NDK
# export PATH=$PATH:~/src/endless_space/android-ndk-r4-crystax/ndk-build
if grep "AppUseCrystaXToolchain=y" AndroidAppSettings.cfg > /dev/null ; then
NDKBUILDPATH=`which ndk-build | sed 's@/[^/]*/ndk-build@/android-ndk-r4-crystax@'`:$PATH
export `grep "AppFullName=" AndroidAppSettings.cfg`
if ( grep "package $AppFullName;" project/src/ > /dev/null && [ "`readlink AndroidAppSettings.cfg`" -ot "project/src/" ] ) ; then true ; else
./ -a
sleep 1
touch project/src/
cd project && env PATH=$NDKBUILDPATH nice -n10 ndk-build -j2 V=1 && ant debug && cd bin && adb install -r DemoActivity-debug.apk
Jump to Line
Something went wrong with that request. Please try again.