Reputation: 909
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 ?
Upvotes: 7
Views: 7894
Reputation: 429
I encountered the same error on my MacBook (M1-Chip [ARM-architecture]).
It was because the package emulator
is only available for on x86_64
-architecture.
Try it on a different machine/ architecture.
Sources:
Upvotes: 0