Jenkins での自動テストで、Android エミュレータの代わりに Genymotion を使用して自動テストをする場合のメモ。CI 環境については前エントリをご覧下さい。 Genymotion で仮想端末を作った後にやること [設定]-[セキュリティ]-[提供元不明のアプリ]を オン にする [設定]-[セキュリティ]-[アプリを確認する]を オフ にする Jenkins ジョブ設定 ビルド環境の "Run an Android emulator during build" を オフ にしてエミュレータを使わないようにする。 ビルドの前処理として adb 経由で Genymotion へ接続する以下のようなシェルを作って置き、呼び出す。(adb root しないとテスト結果を pull できないので注意) #!/bin/sh # genymotion_connect.sh adb