Created
October 24, 2014 12:51
-
-
Save alameenkhader/c253bf789acf23e5cb99 to your computer and use it in GitHub Desktop.
cordova-android-sdk-setup
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
install android sdk | |
download android sdk alone | |
unzip it | |
move a safe folder(remember the path) | |
set the ANDROID_HOME | |
export ANDROID_HOME=/home/user/android-sdk-linux | |
export ANDROID_HOME=~/android-sdk-linux | |
export PATH=$ANDROID_HOME/tools:$PATH | |
export PATH=$ANDROID_HOME/platform-tools:$PATH | |
install node.js | |
wget http://nodejs.org/dist/node-latest.tar.gz | |
tar xvfvz node-latest.tar.gz | |
cd node-v0.10.21 (replace a version with your own) | |
./configure | |
make | |
sudo make install | |
install cordova | |
sudo npm install -g cordova | |
install ant for building apks | |
sudo apt-get install ant | |
set up emuklator | |
navigate to tools | |
android avd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment