Skip to content

Instantly share code, notes, and snippets.

@kylesuss
Last active August 29, 2015 13:56
Show Gist options
  • Save kylesuss/8888638 to your computer and use it in GitHub Desktop.
Save kylesuss/8888638 to your computer and use it in GitHub Desktop.
// List available SDK targets w/ IDs
android list targets
// Create a project
android create project --target <TARGET-ID> --name <YOURAPPNAME> --path <PATH-TO-WORKSPACE>/<YOURAPPNAME> --activity MainActivity --package com.example.YOURAPPNAME
// Build a project
gradle build
gradle assembleDebug
// Run a project in debug mode
gradle assembleDebug
gradle installDebug
// gradle installDefaultFlavorDebug -- New? Might only apply to Gradle 1.10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment