範例訊息
error ADB0000: error: no devices/emulators found
問題
This message indicates that adb (Android Debug Bridge) reported an unhandled/unexpected error or warning.
adb 是 Android SDK 的一部分,由適用於 Android 的 .NET 內部用來與 Android 模擬器和裝置通訊。
解決方法
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.
實作注意事項
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.