カテゴリー:
Android Studio 3
閲覧数:377 配信日:2018-02-28 12:12
メニューの[Run]->[Run App]をクリックして実行
最新の「API 27」しか入れてないので、[Nexus 5X API 27 x86]を選択して[OK]をクリック
Intel HAXM is required to run this AVD.
HAXM is not installed.
Install Intel HAXM for better emulation performance.
HAXM is not installed.
Install Intel HAXM for better emulation performance.
[OK]をクリック
[NEXT]をクリック
[Finish]をクリック
エミュレータの最初の実行時に起こる警告がある
・次の実行時には表示されないません。
・emulator: ERROR: Missing initial data partition file
2018/02/28
12:09 Gradle sync started
12:10 Project setup started
12:10 Gradle sync finished in 55s 947ms
12:10 Executing tasks: [:app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar]
12:11 Gradle build finished in 8s 202ms
12:12 * daemon not running; starting now at tcp:5037
12:12 * daemon started successfully
12:13 Executing tasks: [:app:assembleDebug]
12:16 Emulator: emulator: ERROR: Missing initial data partition file: C:\Users\e1blue\.android\avd\Nexus_5X_API_27_x86.avd/userdata.img
12:16 Emulator: Warning: Quick Boot / Snapshots not supported on this machine. A CPU with EPT + UG features is currently needed. We will address this in a future release.
12:16 Emulator: audio: Failed to create voice `goldfish_audio_in'
12:16 Emulator: qemu-system-x86_64.exe: warning: opening audio input failed
12:16 Emulator: audio: Failed to create voice `adc'
12:09 Gradle sync started
12:10 Project setup started
12:10 Gradle sync finished in 55s 947ms
12:10 Executing tasks: [:app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar]
12:11 Gradle build finished in 8s 202ms
12:12 * daemon not running; starting now at tcp:5037
12:12 * daemon started successfully
12:13 Executing tasks: [:app:assembleDebug]
12:16 Emulator: emulator: ERROR: Missing initial data partition file: C:\Users\e1blue\.android\avd\Nexus_5X_API_27_x86.avd/userdata.img
12:16 Emulator: Warning: Quick Boot / Snapshots not supported on this machine. A CPU with EPT + UG features is currently needed. We will address this in a future release.
12:16 Emulator: audio: Failed to create voice `goldfish_audio_in'
12:16 Emulator: qemu-system-x86_64.exe: warning: opening audio input failed
12:16 Emulator: audio: Failed to create voice `adc'
エミュレータが起動され、作成した「POC App」アプリが表示された
Android Studio3 Emulatorでアプリを動かそう