Skip to content

Instantly share code, notes, and snippets.

@negativo
Created September 30, 2016 14:59
Show Gist options
  • Save negativo/547e3f8c05d55cfa706e4b8f38173c9d to your computer and use it in GitHub Desktop.
Save negativo/547e3f8c05d55cfa706e4b8f38173c9d to your computer and use it in GitHub Desktop.
Android Development on the Command Line
ANDROID CLI
1) Create Project
android create project \
--target 1 \
--name MyProjectName \
--path ./ProjectFolderPath \
--activity MyActivityName \
--package com.yourdomain.yourproject
2) Build Debug
ant debug
3) Build Release
ant release
4) install apk on emulator
ant debug install
5) install apk on device
adb -d install bin/yourApk.apk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment