Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to deploy android xamarin project to Xamarin Android Player in VS 2015

When i try to deploy one android xamarin app to Xamarin Android Player i get this error

1>------ Skipped Deploy: Project: Phoneword, Configuration: Debug Any   CPU ------
1>Project not selected to build for this solution configuration 
========== Deploy: 0 succeeded, 0 failed, 1 skipped ==========

android emulator just works fine

android emulator

but from vs 2015 it doesn't start

vs 2015

what can i check?

like image 841
FDB Avatar asked Apr 05 '16 15:04

FDB


People also ask

How do I run xamarin project in Visual Studio?

Start Visual Studio. Click File > New > Project to create a new project. In the new project dialog, select the Mobile App (Xamarin. Forms) template and click Next.

Does xamarin require Android studio?

To use the Xamarin Android SDK Manager, you will need the following: Visual Studio 2022 Community, Professional, or Enterprise. Visual Studio 2019 Community, Professional, or Enterprise. OR Visual Studio 2017 (Community, Professional, or Enterprise edition).


2 Answers

Whenever you see a message such as

========== Deploy: 0 succeeded, 0 failed, 1 skipped ==========

This typically indicates your deploy was skipped.

You need to go to Build -> Configuration Manager and check the respective Deploy checkbox for your Xamarin.Android project.

like image 173
Jon Douglas Avatar answered Oct 18 '22 10:10

Jon Douglas


Same as Jon Douglas answer.. But One picture tell 1000 words..

This answer only for lazy people like me..

Step 1 : Build -> Configuration Manager

enter image description here

Step 2: Check the respective 'Deploy' button (In my case android project)

enter image description here

like image 30
Ranjithkumar Avatar answered Oct 18 '22 11:10

Ranjithkumar