I've set up a new Xamarin.Forms Project. I want to build and deploy it to an emulator or an Android device, but it is not working. In the Outputwindow of Visual Studio, the following error is displayed:
The application could not be started. Ensure that the application has been installed to the target device and has a launchable activity (MainLauncher = true).
Update:
If I look in the build logs i can find following:
2>Mono.AndroidTools.InstallFailedException: Unexpected install output: Error: Could not access the Package Manager. Is the system running?
2> bei Mono.AndroidTools.Internal.AdbOutputParsing.CheckInstallSuccess(String output, String packageName)
2> bei Mono.AndroidTools.AndroidDevice.c__AnonStoreyD.<>m__0(Task`1 t)
2> bei System.Threading.Tasks.ContinuationTaskFromResultTask`1.InnerInvoke()
2> bei System.Threading.Tasks.Task.Execute()
2>Deployment failed because of an internal error: Unexpected install output: Error: Could not access the Package Manager. Is the system running?


