The Android SDK Directory could not be found.

xWeSTxWeST USMember ✭✭

Hi,

I'm working on a Xamarin crossplatform project. I'm working with VS 2015 and TFS as CI and Buildserver. First I worked on the Android project and everything was ok. The build on the TFS was successfully. After that I added a Windows Phone 8 project. Local on my PC everything is still ok, but the build ond the TFS fails.

The errormessage I get is: "C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(569,2): Error XA5205: The Android SDK Directory could not be found. Please set via /p:AndroidSdkDirectory."

I tried to fill in this as a MSBuild-Argumente
/p:AndroidSdkDirectory=C:\android-sdk

but it still don't work.

Any Ideas?

Best Answer

Answers

  • ArvindrajaArvindraja INMember ✭✭✭

    in VS go tools-->options--->Xamarin from there see the all jdk and sdk paths are correct or not :)

  • ArvindrajaArvindraja INMember ✭✭✭

    ohk bro sometimes happens :blush:

  • Surendra123Surendra123 Member

    The Android SDK Directory could not be found .Getting this error.
    All the sdks are in correct path.Please any one have solution for this.

Sign In or Register to comment.