0
votes

I am using a MAC Book Pro and I wrote my Android App in Visual Studio using Xamarin in Parallels (virtual machine).

When starting the app, it builds, but then the "mobile screen" freezes and when I stop the application then I get two Error Messages:

-) Error ADB0010: Unexpected install output: cmd: Can't find service: package

-) Error ADB0000: Deployment failed Mono.AndroidTools.InstallFailedException: Unexpected install output: cmd: Can't find service: package

How can I fix this?

The App looks like this when I've started it

2

2 Answers

0
votes

Try the below suggestions:

  1. Make sure you have the latest Android Emulator version running.
  2. Try a different Android version If you're using Visual Studio 2019 like me you have to go with Android 8.1 Oreo or higher. 3.Read this: StackOverflow Question
0
votes

enter image description here

It normally caused by that the android emulator does not run well. Please check that you have installed all the emulator package.

After that, when I get this issue, I always stop the android device, in the device manager, edit to change the disk.dataPartition.size value to ‘5000M’(You could set the value according to your device.).

enter image description here