androidの高速なエミュレータ「genymotion」を使用
まず
通常?というかエミュレータを上げずに実行
環境
cordova
実験
$ cordova run android ・ ・ ・ BUILD SUCCESSFUL Total time: 5 seconds Built the following apk(s): /Users/matsumotoshigeharu/sample_projects/hello/platforms/android/ant-build/CordovaApp-debug.apk WARNING : No started emulators found, starting an emulator. Waiting for emulator... Booting up emulator (this may take a while)..........
起動するのおせぇぇぇぇぇぇぇl
というか動かんだろこれ
で
genymotion
サイト
サインアップするとgenymotionをダウンロードできるのでインストールする
起動するとサインインを求められるので認証してエミュレータを追加
起動
実行
$ cordova run android BUILD SUCCESSFUL Total time: 4 seconds Built the following apk(s): /Users/matsumotoshigeharu/sample_projects/hello/platforms/android/ant-build/CordovaApp-debug.apk WARNING : No target specified, deploying to device '192.168.57.101:5555'. Using apk: /Users/matsumotoshigeharu/sample_projects/hello/platforms/android/ant-build/CordovaApp-debug.apk Installing app on device... Launching application... LAUNCH SUCCESS
※簡単に稼働しました
所感
速かった