共用方式為


適用於 Android 的 .NET 錯誤ADB0060

範例訊息

error ADB0060: There is not enough storage space on the device to store package: {packageName}. Free up some space and try again.
error ADB0060: There is not enough storage space on the device to store package: {packageName}. Free up some space or use an SD card and try again.

問題

ADB0060表示 Android 模擬器或裝置上的內部或外部磁碟空間已滿。

此訊息顯示 adb(Android Debug Bridge)報告 INSTALL_FAILED_INSUFFICIENT_STORAGE 或 INSTALL_FAILED_MEDIA_UNAVAILABLE 錯誤。 adb 是 Android SDK 的一部分,由適用於 Android 的 .NET 內部用來與 Android 模擬器和裝置通訊。 深入瞭解adb,請參閱Android文件

解決方案

請考慮卸載應用程式或新增 SD 記憶卡以用於其他記憶體。

實作注意事項

請注意,https://github.com/xamarin/xamarin-android 開放原始碼儲存庫中不會發出任何 ADB0060,因為例如偵錯和「快速部署」等功能,是在 Android 專屬的 .NET 附加功能中實作的。