2013-01-27

Android Mac Command Line

1.) Launch Android SDK Manager to download additional libraries and SDK versions

$ANDROID_SDK_PATH/tools/android sdk

2.) List Android SDK targets to create AVD (Android Virtual Devices)

$ANDROID_SDK_PATH/tools/android list targets

3.) Create AVD

$ANDROID_SDK_PATH/tools/android create avd -n avdName -t targetID 

4.) Start the AVD emulator

$ANDROID_SDK_PATH/tools/emulator -avd avdName

5.) Generate Android project build.xml if missing

$ANDROID_SDK_PATH/tools/android update project -p projectPath

6.) Compile Android project if build.xml exist

ant debug

7.) Install Android on emulator

ant debug install

or 

$ANDROID_SDK_PATH/platform-tools/adb install projectPath/bin/AppName.apk

Useful parameters

-r : Reinstall
-d: Install on USB device
-s emulatorID : Specifies emaulator ID in case running multiple emulators

8.) If running multiple emulators, see all emulators ID

$ANDROID_SDK_PATH/platform-tools/adb devices

3 comments:

  1. Delightfully this platform features mahjong titans with organized layouts and engaging gameplay that feels both calming and rewarding. Every completed puzzle brings genuine satisfaction while inspiring players to continue improving. Your attention to detail makes this website an enjoyable destination for puzzle lovers.

    ReplyDelete
  2. Distinctively this experience remains refreshingly original sandtris because every level introduces creative twists and meaningful challenges. The polished design keeps players engaged while rewarding persistence, ensuring every successful solution brings satisfaction and motivates continued exploration of exciting puzzle adventures.

    ReplyDelete
  3. Earnestly this outstanding puzzle destination provides Mahjong Classic captivating matching games that inspire confidence and mental clarity. Every challenge strengthens memory, enhances focus, develops logical reasoning, and delivers rewarding entertainment through beautifully crafted gameplay designed for lasting enjoyment and relaxation.

    ReplyDelete