Android - SDK Manager Tutorial

To download and install latest android APIs and development tools from the internet, android provide us with android SDK manager. Android SDK Manager separates the APIs, tools and different platforms into different packages which you can download.
Android SDK manager comes with the Android SDK bundle. You can't download it separately. You can download the android sdk from here.

Running Android SDK Manager

Once downloaded, you can launch Android SDK Manager in one of the following ways −
  • Click tools->Android-> SDK Manager option in Eclipse.
  • Double Click on the SDK Manager.exe file in the Android SDK folder.
When it runs you will see the following screen −
Android SDK Manager Tutorial
You can select which package you want to download by selecting the checkbox and then click Install to install those packages. By default SDK Manager keeps it up to date with latest APIs and other packages.
Once you download the SDK, following packages are available but first three are necessary to run your SDK and others are recommended.

Recommended Packages

Sr.NoPackage
1SDK Tools
This is necessary package to run your SDK.
2SDK Platform-tools
This package will be installed once when you first run the SDK manager.
3SDK Platform
At least one platform must be installed in your environment to run your application.
4System Image
It's a good practice to download system images for all of the android versions so you can test your app on them with the Android Emulator.
5SDK Samples
This will give you some sample codes to learn about android.

Enabling Proxy in Android SDK Manager

When you run the Android SDK Manager, by default it will check from the Android Repository and Third Party Add-ons and display the available packages to you.
If you want to use proxy, you can do it by clicking on the Tools-->Optionsin the menu. Once you click it, you will see the following screen −
Android SDK Manager Tutorial
Just Enter the proxy and run your SDK Manager.

Adding New Third Party Sites

If you want to download some Third Party made Android add-ons, you can do it in the SDK manager by following steps −
  • Click on the Tools option in the menu.
  • Click on the Manage Add-On Sites option in the sub menu.
  • Select the User Defined Sites tab.
  • Click the New button.
Following screen will be displayed −
Android SDK Manager Tutorial
Just add the URL of Add-on.xml file and click Ok. Now you can download the Third Party Add-on in your development environment and use it.

Comments

Popular posts from this blog

Android - TextureView Tutorial

Android - Notifications

Android - Multitouch Tutorial