Sdk Supervisor Android Builders

Rate this post

The Android SDK separates equipment, platforms, and different additives into packages you candownload using the SDK Manager. For example, when the SDK Tools are updated or a new edition ofthe Android platform is launched, you could use the SDK Manager to speedy down load them toyour surroundings.

You can launch the SDK Manager in one of the following ways:From Eclipse (with ADT),pick out Window > Android SDK Manager.From Android Studio, choose Tools > Android> SDK Manager.On Windows, double-click the SDK Manager.exe document at the foundation of the AndroidSDK directory.On Mac or Linux, open a terminal and navigate to the equipment/ listing in thelocation in which the Android SDK is set up, then execute android sdk.

You can pick out which applications you need to download by way of toggling the checkboxes at the left, thenclick Install to install the selected applications.

Figure 1. The Android SDK Manager indicates theSDK programs which are available, already established, or for which an update is to be had.

There are numerous distinct programs available for the Android SDK. The table beneath describesmost of the to be had programs and wherein they may be positioned on your SDK directoryonce you download them.Recommended Packages

Here’s an outline of the applications required and people we advocate you operate:SDK ToolsRequired. Your new SDK set up already has the brand new version. Make sureyou preserve this up to date.SDK Platform-toolsRequired. You have to deploy this package while you installation the SDK forthe first time.SDK PlatformRequired.You ought to down load at least one platform into yourenvironment so that you’re able to assemble your application. In order to offer the great user experienceon the trendy devices, we endorse that you use the ultra-modern platform version as your construct target.You’ll nevertheless be capable of run your app on older variations, but you have to build in opposition to the latestversion that allows you to use new capabilities while strolling on devices with the modern day version of Android.

To get commenced, down load the contemporary Android model, plus the lowest version you planto guide (we suggest Android 2.2 for your lowest model).System ImageRecommended. Although you may have one or greater Android-powered gadgets on which to testyour app, it’s not going you have a device for every model of Android your app helps. It’sa proper exercise to download device snap shots for all variations of Android your app supports and testyour app jogging on them with the Android emulator.Android SupportRecommended. Includes a static library that allows you to use some of the latestAndroid APIs (together with fragments,plus others no longer protected in the framework in any respect) on gadgets runninga platform model as vintage as Android 1.6. All of the hobby templates to be had whilst creatinga new mission with the ADT Pluginrequire this. For extra statistics, read Support Library.SDK SamplesRecommended. The samples give you source code that you can use to examine aboutAndroid, load as a task and run, or reuse to your own app. Note that multiplesamples programs are available — one for each Android platform version. Whenyou are deciding on a samples package deal to down load, select the only whose API Levelmatches the API Level of the Android platform which you plan to use.

Tip: For easy access to the SDK tools from a command line, upload thelocation of the SDK’s equipment/ andplatform-gear for your PATH surroundings variable.

The above listing isn’t comprehensive and you could add new sites to download additional programs from 1/3-events.

In some cases, an SDK package deal may require a particular minimum revision ofanother package or SDK tool.The improvement equipment will notify you with warnings if there’s dependency which you need toaddress. The Android SDK Manager additionally enforces dependencies with the aid of requiring that you down load anypackages which might be needed through the ones you have got decided on.Adding New Sites

By default, Available Packages displays packages to be had from theAndroid Repository and Third birthday party Add-ons. You can add different websites that hosttheir personal Android SDK add-ons, then download the SDK upload-onsfrom those websites.

For example, a cell provider or tool manufacturer might provide additionalAPI libraries that are supported via their personal Android-powered gadgets. In orderto expand the usage of their libraries, you should set up their Android SDK add-on, if it is not alreadyavailable below Third party Add-ons.

If a carrier or device producer has hosted an SDK upload-on repository fileon their internet site, follow these steps to feature their website to the Android SDKManager:Select Available Packages within the left panel.Click Add Add-on Site and enter the URL of therepository.xml file. Click OK.

Any SDK programs to be had from the website will now be listed under a brand new object namedUser Add-ons.Troubleshooting

Problems connecting to the SDK repository

If you’re the usage of the Android SDK Manager to down load programs and are encounteringconnection problems, strive connecting over http, rather than https. To transfer theprotocol used by the Android SDK Manager, comply with these steps: With the Android SDK Manager window open, select “Settings” in theleft pane. On the right, inside the “Misc” section, take a look at the checkbox classified “Forcehttps://… resources to be fetched the use of http://…” Click Save & Apply.

Show More