Xamarin failed to deploy app to emulator with: “Unexpected install output: cmd: Can't find service: package”

后端 未结 5 1133
终归单人心
终归单人心 2020-12-17 08:01

I\'m building the sample intro xamarin forms app With Visual studio 2019 and the emulator boots up but the app doesn\'t deploy with the error Unexpected install outp

5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-17 08:33

    Last week I used My Device (red box in screenshot) without issue. This week I was getting:

    Mono.AndroidTools.InstallFailedException: Unexpected install output: cmd: Can't find service: package

    Tweaking Reza's answer I created a new emulator in the same project, My Device 2 (purple box in screenshot), and it works on that device.

提交回复
热议问题