-->![Mac Mac](/uploads/1/2/6/6/126635060/103625995.gif)
Visual Studio includes an Android SDK Manager that you useto download Android SDK tools, platforms, and other components that youneed for developing Xamarin.Android apps.
Overview
The Dart SDK has the libraries and command-line tools that you need to develop Dart command-line, server, and non-Flutter web apps. For details, see the Dart SDK overview. As of Flutter 1.21, the Flutter SDK includes the full Dart SDK. So if you have Flutter installed, you might not need to explicitly download the Dart SDK. Get ready for macOS Big Sur. MacOS Big Sur takes the most advanced operating system in the world to a whole new level of power and beauty, making your apps look better than ever on an all-new interface. New widget features and the new widget gallery help you deliver more value to your users. Adding intelligence to your apps with machine learning is even simpler and more extensive with new.
This guide explains how to use the Xamarin Android SDK Manager inVisual Studio and Visual Studio for Mac.
Note
This guide applies to Visual Studio 2019, Visual Studio 2017, and Visual Studio for Mac.
The Xamarin Android SDK Manager (installed as part of the Mobiledevelopment with .NET workload) helps you download the latest Androidcomponents that you need for developing your Xamarin.Android app. Itreplaces Google's standalone SDK Manager, which has been deprecated.
Requirements
To use the Xamarin Android SDK Manager, you will need the following:
- Vpn client for mac os x. Visual Studio 2019 Community, Professional, or Enterprise.
- OR Visual Studio 2017 (Community, Professional, or Enterprise edition). VisualStudio 2017 version 15.7 or later is required.
- Visual Studio Tools for Xamarin version 4.10.0 or later(installed as part of the Mobile development with .NET workload).
The Xamarin Android SDK Manager also requires the Java Development Kit(which is automatically installed with Xamarin.Android). There areseveral JDK alternatives to choose from:
- By default, Xamarin.Android usesJDK 8,which is required if you are developing for API level 24 or greater(JDK 8 also supports API levels earlier than 24).
- You can continue to use JDK 7if you are developing specifically for API level 23 or earlier.
- If you are using Visual Studio 15.8 Preview 5 or later, you can tryusing Microsoft's Mobile OpenJDK Distributionrather than JDK 8.
SDK Manager
To start the SDK Manager in Visual Studio, click Tools > Android >Android SDK Manager:
The Android SDK Manager opens in the Android SDKs andTools screen. This screen has two tabs – Platforms andTools:
The Android SDKs and Tools screen is described in more detail inthe following sections.
Android SDK location
The Android SDK location is configured at the top of the Android SDKsand Tools screen, as seen in the previous screenshot. This location mustbe configured correctly before the Platforms and Tools tabswill function properly. You may need to set the location of the AndroidSDK for one or more of the following reasons:
- The Android SDK Manager was unable to locate the Android SDK.
- You have installed the Android SDK in a alternate (non-default) location.
To set the location of the Android SDK, click the ellipsis (…)button to the far right of Android SDK Location. This opens theBrowse For Folder dialog to use for navigating to the location ofthe Android SDK. In the following screenshot, the Android SDK underProgram Files (x86)Android is being selected:
When you click OK, the SDK Manager will manage the Android SDK thatis installed at the selected location.
Tools tab
The Tools tab displays a list of tools and extras. Use this tabto install the Android SDK tools, platform tools, and build tools.Also, you can install the Android Emulator, the low-level debugger(LLDB), the NDK, HAXM acceleration, and Google Play libraries.
For example, to download the Google Android Emulator package, click thecheck mark next to Android Emulator and click the Apply Changesbutton:
A dialog may be shown with the message, The following package requiresthat you accept its license terms before installing:
![Mac Mac](/uploads/1/2/6/6/126635060/103625995.gif)
Click Accept if you accept the Terms and Conditions. At the bottomof the window, a progress bar indicates download and installationprogress. After the installation completes, the Tools tab will showthat the selected tools and extras were installed.
Platforms tab
The Platforms tab displays a list of platform SDK versions alongwith other resources (like system images) for each platform:
This screen lists the Android version (such as Android 8.0), thecode name (Oreo), the API level (such as 26), and the sizes ofthe components for that platform (such as 1 GB). You use thePlatforms tab to install components for the Android API level thatyou want to target. For more information about Android versions and APIlevels, seeUnderstanding Android API Levels.
When all components of a platform are installed, a checkmark appears nextto the platform name. If not all components of a platform areinstalled, the box for that platform is filled.You can expand a platform to see its components (and which componentsare installed) by clicking the + box to the left of the platform.Click - to unexpand the component listing for a platform.
To add another platform to the SDK, click the box next to the platformuntil the checkmark appears to install all of its components, thenclick Apply Changes:
To install only specific components, click the box next to the platformonce. You can then select any individual components that you need:
Notice that the number of components to install appears next to theApply Changes button. After you click the Apply Changes button,you will see the License Acceptance screen as shown earlier.Click Accept if you accept the Terms and Conditions. You may seethis dialog more than one time when there are multiple components toinstall. At the bottom of the window, a progress bar will indicatedownload and installation progress. When the download and installationprocess completes (this can take many minutes, depending on how manycomponents need to be downloaded), the added components are marked witha checkmark and listed as Installed.
Repository selection
By default, the Android SDK Manager downloads platform components andtools from a Microsoft-managed repository. If you need access toexperimental alpha/beta platforms and tools that are not yet availablein the Microsoft repository, you can switch the SDK Manager to useGoogle's repository. To make this switch, click the gear icon in thelower right-hand corner and select Repository > Google(Unsupported):
When the Google repository is selected, additional packages may appearin the Platforms tab that were not available previously. (In theabove screenshot, Android SDK Platform 28 was added by switching tothe Google repository.) Keep in mind that use of the Google repositoryis unsupported and is therefore not recommended for everydaydevelopment.
To switch back to the supported repository of platforms and tools,click Microsoft (Recommended). This restores the list of packagesand tools to the default selection.
Requirements
To use the Xamarin Android SDK Manager, you will need the following:
- Visual Studio for Mac 7.5 (or later).
The Xamarin Android SDK Manager also requires the Java Development Kit(which is automatically installed with Xamarin.Android). There areseveral JDK alternatives to choose from:
- By default, Xamarin.Android usesJDK 8,which is required if you are developing for API level 24 or greater(JDK 8 also supports API levels earlier than 24).
- You can continue to use JDK 7if you are developing specifically for API level 23 or earlier.
- If you are using Visual Studio for Mac 7.7 or later, you can tryusing Microsoft's Mobile OpenJDK Distributionrather than JDK 8.
Important
Xamarin.Android does not support JDK 9.
SDK Manager
To start the SDK Manager in Visual Studio for Mac, click Tools > SDK Manager:
The Android SDK Manager opens in the Preferences window, whichcontains three tabs, Platforms, Tools, and Locations:
The tabs of the Android SDK Manager are described in thefollowing sections.
Locations tab
The Locations tab has three settings for configuring the locationsof the Android SDK, Android NDK, and the Java SDK (JDK). Theselocations must be configured correctly before the Platforms andTools tabs will function properly.
When the SDK Manager starts, it automatically determines the path foreach installed package and indicates that it was Found by placing agreen checkmark icon next to the path:
Click the Reset to Defaults button to cause the SDK Manager to lookfor the SDK, NDK, and JDK at their default locations.
Typically, you use the Locations tab to modify the location of theAndroid SDK and/or the Java JDK. You do not need to install the NDK todevelop Xamarin.Android apps – the NDK is used only when you needto develop parts of your app using native-code languages such as C andC++.
Tools tab
The Tools tab displays a list of tools and extras. Use this tabto install the Android SDK tools, platform tools, and build tools.Also, you can install the Android Emulator, the low-level debugger(LLDB), the NDK, HAXM acceleration, and Google Play libraries.
For example, to download the Google Android Emulator package, click thecheck mark next to Android Emulator and click the Apply Changesbutton:
A dialog may be shown with the message, The following package requiresthat you accept its license terms before installing:
Click Accept if you accept the Terms and Conditions. At the bottomof the window, a progress bar indicates download and installationprogress. After the installation completes, the Tools tab will showthat the selected tools and extras were installed.
Platforms tab
The Platforms tab displays a list of platform SDK versions alongwith other resources (like system images) for each platform:
This screen lists the Android version (such as Android 8.1), thecode name (Oreo), the API level (such as 27), and the sizes ofthe components for that platform (such as 1 GB). You use thePlatforms tab to install components for the Android API level thatyou want to target. For more information about Android versions and APIlevels, see Understanding Android API Levels.
Android Sdk Download Mac
When all components of a platform are installed, a checkmark appears nextto the platform name. If not all components of a platform areinstalled, the box for that platform is filled.You can expand a platform to see its components (and which componentsare installed) by clicking the arrow to the left of the platform.Click down arrow to unexpand the component listing for a platform.
To add another platform to the SDK, click the box next to the platformuntil the checkmark appears to install all of its components, thenclick Apply Changes:
To install only some components, click the box next to the platformonce. You can then select any individual components that you need:
Notice that the number of components to install appears next to theApply Changes button. After you click the Apply Changes button,you will see the License Acceptance screen as shown earlier.Click Accept if you accept the Terms and Conditions. You may seethis dialog more than one time when there are multiple components toinstall. At the bottom of the window, a progress bar will indicatedownload and installation progress. When the download and installationprocess completes (this can take many minutes, depending on how manycomponents need to be downloaded), the added components are marked witha checkmark and listed as Installed.
Repository selection
By default, the Android SDK Manager downloads platform components andtools from a Microsoft-managed repository. If you need access toexperimental alpha/beta platforms and tools that are not yet availablein the Microsoft repository, you can switch the SDK Manager to useGoogle's repository. To make this switch, click the gear icon in thelower right-hand corner and select Repository > Google(Unsupported):
When the Google repository is selected, additional packages may appearin the Platforms tab that were not available previously. (In theabove screenshot, Android SDK Platform 28 was added by switching tothe Google repository.) Keep in mind that use of the Google repository isunsupported and is therefore not recommended for everyday development.
To switch back to the supported repository of platforms and tools,click Microsoft (Recommended). This restores the list of packagesand tools to the default selection.
Summary
This guide explained how to install and use the Xamarin Android SDKManager tool in Visual Studio and Visual Studio for Mac.
Related Links
This page describes how to download the Dart SDK.The Dart SDK has the libraries and command-line tools that you need to developDart command-line, server, and non-Flutter web apps.For details, see the Dart SDK overview.
As of Flutter 1.21, the Flutter SDK includes the full Dart SDK.So if you have Flutter installed,you might not need to explicitly download the Dart SDK.Consider downloading the Dart SDK ifany of the following are true:
- You don’t use Flutter.
- You use a pre-1.21 version of Flutter.
- You want to reduce disk space requirements or download time,and your use case doesn’t require Flutter.For example, you might have a continuous integration (CI)setup that requires Dart but not Flutter.
Installing the Dart SDK
As the following instructions show,you can use a package managerto easily install and update a stable channel Dart SDK.Alternatively, you canbuild the SDK from source or install fromany release channel bydownloading the SDK as a zip file.
Dart tools may send usage metrics and crash reports to Google.By downloading the Dart SDK, you agree to theGoogle Terms of Service.Note: The Google Privacy Policydescribes how data is handled in this service.
- Windows
- Linux
- Mac
You can install the Dart SDK using Chocolatey.
To install the Dart SDK:
To upgrade the Dart SDK:
If you’re using Debian/Ubuntu on AMD64 (64-bit Intel), you can choose one of thefollowing options, both of which can update the SDK automatically when newversions are released.
Install using apt-get
Perform the following one-time setup:
Then install the Dart SDK:
Install a Debian package
Alternatively, download Dart SDK as Debian packagein the
.deb
package format.Modify PATH for access to all Dart binaries
After installing the SDK, add its
bin
directory to your PATH
. For example,use the following command to change PATH
in your active terminal session:To change the PATH for future terminal sessions, use a command like this:
Install Homebrew,and then run the following commands:
Important: Make sure the Homebrew
bin
directory is in your PATH
. Setting up the path correctly makes it easier to use Dart SDK commands such as dart
and dartfmt
. For help setting up your path, consult the Homebrew FAQ.To upgrade when a new release of Dart is available:
To switch between locally installed Dart releases, use
brew switch dart <version>
. Example:To see which versions of Dart you’ve installed:
About release channels and version strings
The Dart SDK has three release channels:
Android Sdk Location Mac
- Stable channel: stable releases, updated roughly every three months;currently
[calculating]
.Stable releases are suitable for production use. - Beta channel: preview releases, usually updated every month;currently
[calculating]
.Beta channel builds are preview builds for the stable channel. We recommendtesting, but not releasing, your apps against beta to preview new features ortest compatibility with future releases. - Dev channel: prereleases, usually updated twice a week;currently
[calculating]
.Dev channel releases are the most current with latest changes, may be broken,are unsupported, and may contain unvetted breaking changes.
Mac Install Android Sdk
Stable channel releases of the Dart SDK have
x.y.z
version strings like1.24.3
and 2.1.0
. They consist of dot-separated integers, with no hyphens orletters, where x
is the major version, y
is the minor version, and z
isthe patch version.Beta and dev channel releases of the Dart SDK (non-stable releases) have
x.y.z-a.b.<beta|dev>
versions like 2.8.0-20.11.beta
. The part before thehyphen follows the stable version scheme, a
and b
after the hyphen are theprerelease and prerelease patch versions, and beta
or dev
is the channel.Mac users interested in Ubnt discovery 2.3 free download generally download: Discovery Tool 611.0 Free Discover Ubiquiti devices (access points and stations) within subnet (s) associated to the servers network interface (s). The Ubiquiti Discovery Tool is a useful application to find the IP address or MAC address of Ubiquiti devices on your network. NOTES & REQUIREMENTS: The latest version of the Java Runtime Environment is required to use the Discovery Tool installation. The Chrome extension option runs without this requirement. How to Use the Ubiquiti Discovery Tool. Ubnt discovery for mac os.
You can get stable channel releases usingthe instructions above, or you canget stable, beta, or dev channel releasesusing a package manageror by downloading the SDK as a zip file.