Compartir a través de


.NET for Android error ADB0050

Mensajes de ejemplo

error ADB0050: Package {packageName} already exists on device.

Cuestión

ADB0050 is likely an error in the .NET for 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 forma parte del SDK de Android y lo usa internamente .NET para Android para comunicarse con dispositivos y emuladores de Android. Obtenga más información sobre adb en la documentación de Android.

Solución

Considere informar de un error si recibe esta advertencia en circunstancias normales.

Notas de implementación

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