Created
September 30, 2016 14:59
-
-
Save negativo/547e3f8c05d55cfa706e4b8f38173c9d to your computer and use it in GitHub Desktop.
Android Development on the Command Line
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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