Pardeep Kapoor
Pardeep Kapoor

Reputation: 139

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

Upvotes: 7

Views: 16931

Answers (4)

Erik J.
Erik J.

Reputation: 809

I would advise you to use the Visual Studio Emulator for Android (get it here), it plays very nice with Xamarin and Visual Studio and sets up your system automatically. As an added benefit it is very fast!

Upvotes: 0

Harish
Harish

Reputation: 337

This is because of Hyper V.
Things you need to do are:
1.Turn off your Hyper V.(http://www.poweronplatforms.com/enable-disable-hyper-v-windows-10-8/)
2.Update your android SDK to desired platform.
That set. Now run your app. It will work.
Please let me know if still you have same error.

Upvotes: 0

Akshay Kulkarni
Akshay Kulkarni

Reputation: 729

you have to have the android virtual device downloaded.

here are a few options:

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.

Upvotes: 1

SushiHangover
SushiHangover

Reputation: 74144

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

Upvotes: 5

Related Questions