Skip to content

Instantly share code, notes, and snippets.

@nncl
Last active February 27, 2016 21:35
Show Gist options
  • Save nncl/860ac6076f714bcbb389 to your computer and use it in GitHub Desktop.
Save nncl/860ac6076f714bcbb389 to your computer and use it in GitHub Desktop.
Ionic: run android

More info here

Android Home should be the root folder of SDK.

export ANDROID_HOME="$HOME/android-sdk-linux"

EDIT: Open terminal and type these commands. (yes, on a ternimal , not in bashrc file)

export ANDROID_HOME=~/android-sdk-macosx
PATH=$PATH:$ANDROID_HOME/tools
PATH=$PATH:$ANDROID_HOME/platform-tools    

And then in the same terminal just type android. If configured you would be able to use build commands from this terminal. (it's a temporary solution)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment