INSTALL_FAILED_UPDATE_INCOMPATIBLE

deploy時出現 InstallPackageAssemblies,並出現 Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]

  1. 打開adb
  2. 執行 adb uninstall emphelper.nuvoton.com
  3. 重新部署

ref: http://stackoverflow.com/questions/39602669/visual-studio-2015-c-sharp-xamarin-deploy-failed-without-errors-real-device-adb

  1. 可用此指令看所有安排的apk:adb shell pm list packages
  2. 確認apk是否已安裝及路徑:adb shell pm path your-package-name

2>C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 4df79408743940cb shell getprop ro.build.version.sdk 2>C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe -s 4df79408743940cb shell getprop ro.product.cpu.abi 2>The "InstallPackageAssemblies" task failed unexpectedly. 2>System.AggregateException: One or more errors occurred. ---> Xamarin.AndroidTools.AndroidDeploymentException: InternalError ---> Mono.AndroidTools.InstallFailedException: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE] 2> at Mono.AndroidTools.Internal.AdbOutputParsing.CheckInstallSuccess(String output, String packageName) 2> at Mono.AndroidTools.AndroidDevice.cAnonStoreyF.<>m0(Task1 t) 2> at System.Threading.Tasks.ContinuationTaskFromResultTask1.InnerInvoke() 2> at System.Threading.Tasks.Task.Execute()

results matching ""

    No results matching ""