Android SDK and Android Emulator Installation

Installing Android Studio + Android SDK

  • Get Android Studio from http://developer.android.com/sdk/index.html.  
    • Get the IDE version i.e. “All Android Studio Packages”. Android Studio is the IDE you will use to program + deploy Android apps this term.
  • When installing, you can follow the default installation options.
  • Make sure to open Android Studio for the first time and create a default project.  This will force Studio to download the Android SDK, which is a hefty download.
  • Double check the SDK is installed at the right location: which adb   should return
    • MacOSX: /Users/[username]/Library/Android/sdk/platform-tools/adb

Installing Genymotion, the Android Emulator

  • If you don’t have it already, install Virtualbox: https://www.virtualbox.org/wiki/Downloads
  • Create an account on www.genymotion.com.  
  • Make sure to get both the free version of the Genymotion application and the Android Studio plugin, as described in the “Download Genymotion” and “Android Studio” sections of the download page (https://www.genymotion.com/#!/download).
  • To install Genymotion plugin for Android Studio:
    • In Android Studio, go to Android Studio > Preferences.
    • Select Plugins and click Browse repositories.
    • Search for Genymotion and click Install plugin.
  • To start a Genymotion virtual device, click “Add”. We recommend running a Nexus 5 on 5.1.0 with API 22, since it’s the most recent release. Then press “run” every subsequent time. Each emulator will remember all of its settings and apps you install on it.
  • Double check this emulator is registered: adb devices should return the device’s IP address.
  • To deploy your app to Genymotion from Android Studio, click “run” (the green arrow at the top) and select the Genymotion emulator which should already be open.