Condividi tramite


.NET for Android error ADB0050

Messaggi di esempio

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

Problema

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 fa parte di Android SDK e viene usato internamente da .NET per Android per comunicare con emulatori e dispositivi Android. Altre informazioni sono disponibili adb nella documentazione di Android.

Soluzione

Prendere in considerazione l'invio di un bug se si riceve questo avviso in circostanze normali.

Note sull'implementazione

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.