Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error: there were deployment errors

When I tried to run any sample application or a new one it shows this error. Can anyone help please?

enter image description here

like image 947
Pardeep Kapoor Avatar asked Apr 15 '16 12:04

Pardeep Kapoor


People also ask

What is a deployment error?

Any error that occurs during deployment of an API Proxy is called a Deployment error. Deployment of API proxies might fail due to various reasons such as network connectivity issues between Edge servers, issues with the Cassandra datastore, ZooKeeper exceptions, and errors in the API proxy bundle.

How to fix deployment error in visual Studio?

restart visual studio. clean and rebuild. 3. Check and uncheck "Use shared Runtime" and "Fast Deployment" then rebuild and run.


2 Answers

enter image description here

The error is telling you that you have not selected a device:

"Please select a valid device before running the application"

You need to choice a physical phone (or Android emulator) to deploy the application to.

Ref: Debug on Device

enter image description here

like image 125
SushiHangover Avatar answered Nov 15 '22 04:11

SushiHangover


you have to have the android virtual device downloaded.

here are a few options:

  • Xamarin Android player
  • Bluestacks
  • Andy
  • Genymotion

Now that you have the virtual device. you need to start one before you run or debug.

The specific error you are seeing is because you've not started the device properly before you debug, you should be able to see the device.

Now run the project, and you wont meet this error.

like image 32
Akshay Kulkarni Avatar answered Nov 15 '22 04:11

Akshay Kulkarni