Xamarin.Android error ADB0050
Example messages
error ADB0050: Package {packageName} already exists on device.
Issue
ADB0050 is likely an error in the Xamarin.Android build chain, since
it means there was an absence of the -r
flag during the
adb install
command.
This message indicates that adb
(Android Debug Bridge) reported an
INSTALL_FAILED_ALREADY_EXISTS error. adb
is part of the Android SDK
and is used internally by Xamarin.Android to communicate with Android
emulators and devices. Learn more about adb
from the Android
documentation.
Solution
Consider submitting a bug if you are getting this warning under normal circumstances.
Implementation notes
Note that nothing in the open source xamarin-android repository emits ADB0050, as features such as debugging and "fast deployment" are implemented in the proprietary Xamarin.Android additions.