VISUAL STUDIO   Windows Mac

Where can I set my Android SDK locations?

PDF for offline use

Let us know how you feel about this

Translation Quality


0/250

last updated: 2017-09

In Visual Studio, navigate to the following page to view and set the Android SDK location:

Tools > Options > Xamarin > Android Settings

The default location for each path is as follows:

  • Java Development Kit Location:

    C:\Program Files\Java\jdk1.8.0_131

  • Android SDK Location:

    C:\Program Files (x86)\Android\android-sdk

  • Android NDK Location:

    C:\ProgramData\Microsoft\AndroidNDK64\android-ndk-r13b

Note that the version number of the NDK may vary. For example, instead of android-ndk-r13b, it could be an earlier version such as android-ndk-r10e.

In Visual Studio for Mac, navigate to the following page to view and set the Android SDK location:

Preferences > Android > Locations > Android > Android SDK Location

The default location for each path is as follows:

  • Android SDK Location:

    ~/Library/Developer/Xamarin/android-sdk-macosx

  • Android NDK Location:

    ~/Library/Developer/Xamarin/android-ndk/android-ndk-r14b

  • Java SDK (JDK) Location:

    /usr

Note that the version number of the NDK may vary. For example, instead of android-ndk-r14b, it could be an earlier version such as android-ndk-r10e.

Xamarin Workbook

If it's not already installed, install the Xamarin Workbooks app first. The workbook file should download automatically, but if it doesn't, just click to start the workbook download manually.