4

I need to use the android stdio to develop some app, BUT when I try to open the virtual device, it has some problem.

Cannot launch AVD in emulator.
Output:
emulator: WARNING: Crash service did not startemulator: 
ERROR: This AVD's configuration is missing a kernel file! Please ensure the file "kernel-qemu" is in the same location as your system image.
emulator: ERROR: ANDROID_SDK_ROOT is undefined

I already found some solutions about this error, ie. the intel x86 haxm, SDK version, install the jave JDK8... but it's not work yet....What happen about this problem??

apple pie
  • 41
  • 1
  • 6

2 Answers2

3

I had this problem when I tried to run without any x86 image. You can see here when running the SDK Manager:

SDK Manager

It worked after the installation of the missing x86 image.

Disclosure: I got this image from another SO post.

coelhudo
  • 4,710
  • 7
  • 38
  • 57
1

you have to download a system image first.

ray
  • 51
  • 7