Create an Android project and build it from command line

fabiodelorenzo
Posts: 65
Joined: Thu Oct 03, 2013 5:54 pm

Create an Android project and build it from command line

Postby fabiodelorenzo » 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

Return to “NDK and low level AOSP”

Who is online

Users browsing this forum: No registered users and 1 guest