diff --git a/lib/src/daemon_client.dart b/lib/src/daemon_client.dart index 1deb6046..4a811192 100644 --- a/lib/src/daemon_client.dart +++ b/lib/src/daemon_client.dart @@ -329,9 +329,9 @@ DaemonEmulator loadDaemonEmulator(Map emulator) { DaemonDevice loadDaemonDevice(Map device) { // hack for CI testing. - // Emulator is reporting as real device. - // Platform is reporting as 'android-arm' instead of 'android-x86', etc... - if (platform.environment['CI'] == 'true') { + // x64 emulator is reporting as real device. + // Platform is reporting as 'android-arm' instead of 'android-x64', etc... + if (platform.environment['CI'] == 'true' && device['platform'] == 'android-arm') { return DaemonDevice( device['id'], device['name'],