Create an Android project and build it from command line
Posted: Sun Jan 10, 2016 9:13 pm
export PATH=/opt/android-sdk-linux/tools:/opt/android-sdk-linux/platform-tools:/opt/android-ndk-r10e:$PATH
#using target 1 (see: android list targets)
android create project --target 1 --name SwigSimple --path ./simple --activity SwigSimple --package org.swig.simple
cd simple/
and debug
ls bin/
-rw-rw-r-- 1 fabio fabio 13994 Jan 10 20:03 SwigSimple-debug.apk
#using target 1 (see: android list targets)
android create project --target 1 --name SwigSimple --path ./simple --activity SwigSimple --package org.swig.simple
cd simple/
and debug
ls bin/
-rw-rw-r-- 1 fabio fabio 13994 Jan 10 20:03 SwigSimple-debug.apk