5

I want install new device in my docker container.

I had dowload new sdk

./sdkmanager "system-images;android-23;google_apis;x86"

I had accept all licences

./sdkmanager --licenses

And now I want create a new emulator with AVDMANAGER

./avdmanager create avd -n test -k "system-images;android-23;google_apis;x86" --abi google_apis/x86 --force

When I launch command, I have this message

Do you wish to create a custom hardware profile? [no]

I press yes and I have this error

Error: "emulator" package must be installed!

Can you explain me how I can install this package ?

Suraj Rao
  • 29,388
  • 11
  • 94
  • 103
Matthis.h
  • 849
  • 3
  • 14
  • 30

1 Answers1

12

The solution is:

./sdkmanager --channel=3 emulator
Suraj Rao
  • 29,388
  • 11
  • 94
  • 103