.NET for Android error/warning ADB0000

Example messages

error ADB0000: error: no devices/emulators found

Issue

This message indicates that adb (Android Debug Bridge) reported an unhandled/unexpected error or warning. adb is part of the Android SDK and is used internally by .NET for Android to communicate with Android emulators and devices.

Solution

To learn more about adb, see the Android documentation.

Errors reported by adb are outside of .NET for Android's control, so a general error code of ADB0000 is used for unexpected errors reporting the exact message coming from adb.

Implementation notes

Note that nothing in the open source https://github.com/xamarin/xamarin-android repository emits ADB0000, as features such as debugging and "fast deployment" are implemented in the proprietary .NET for Android additions.