run emulator in Android Studio - accgetter/Android GitHub Wiki

Android Projectをエミュレターで起動させる

1. Android Studio DL

http://developer.android.com/intl/ja/sdk/index.html

2. GenyMotion DL

Genymotionにsign upして下記URLへ https://www.genymotion.com/#!/download

3. GenyMotion でVirtual Deviceを作成

  • GenyMotion 起動
    • (Add) ボタンをクリック
  • "Nexus 6 - 5.1.0 - API 22 - 1440x2560" で検索し追加

4. Virtual Device に google play をインストール

以下のページを参考に http://stackoverflow.com/questions/20121883/how-to-install-google-play-services-in-a-genymotion-vm-with-no-drag-and-drop-su

5. git clone

任意の場所で

git clone [email protected]:xxx/xxxx.git

6. Android Studio でプロジェクトを開く

* Android Studio 起動

  • open an existing Android Studio project を選択
  • git clone したプロジェクトのルートディレクトリを選択
  • shift-key2回で Search Everywhereを起動
  • "SDK Manager" と入力し SDK Managerを起動
  • SDK Managerの左メニューのpluginsを選択
  • 検索テキストボックスに"genymotion"と入力し、plugin をインストール
  • menu - Run "Run▶︎"をクリック