This is due using an emulator with an unstable Developer Preview API version.
You probably have a device using API 27 (Android 8.1).
Open your AVD, remove that device and re-run.
It’s also useful to use --target <emulator_name>
when launching the emulator if you have more than one.
To get a list of available names to use, call the emulate command with --list