PatriceVB
PatriceVB

Reputation: 1073

No agent could be found with the following capabilities Xamarin.Android

I'm trying to create a build definition to build and package an Android app based on Xamarin Forms.

I want to do so thanks to TFS 2017 Update 1 on premise. I've installed Visual Studio 2017 and Xamarin on my build server, and even after restarting my server, my agent does not find the Xamarin.Android capability.

I'm still getting en error while queuing one build : No agent could be found with the following capabilities AndroidSDK, MSBuild, Xamarin.Android, JDK

The only capability that is missing on my agent is the Xamarin.Android.

Do you have any idea on how to add it on my agent ?

Regards

Upvotes: 4

Views: 1847

Answers (2)

Anurag Jain
Anurag Jain

Reputation: 31

Add an environment variable named Xamarin.Android and the value of this would be

C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Xamarin 

or change it wrt your Visual Studio version and installation path.

Upvotes: 3

Neroon
Neroon

Reputation: 1379

Install Visual Studio 2017 on the build server and check Xamarin in the setup

Please check on the build server for an environment variable named Xamarain.Android and if it not exist add it or add an capability in TFS on the agent

Upvotes: 2

Related Questions