I was interested in trying the Android emulators yesterday on my Mac, so here’s what I did. It’s much simpler than the documentation makes it out to be:
- download and unpack the SDK zip file from http://developer.android.com/sdk/index.html
- add the SDK tools directory to your path (in
~/.bashrc):
export PATH=${PATH}:${HOME}/…/android-sdk-mac/tools - start Terminal
- run the “Android SDK and AVD Manager”:
android &- select Settings on the left
- select Force https://… sources to be fetched using http://…
- select Available Packages on the left
- select the checkboxes for the various SDK Platforms
- press Install Selected
- select Settings on the left
- make an “Android Virtual Device”:
android create avd --target 6 --name david -c 200M - run the emulator (note: it can take minutes to boot):
emulator -avd david