Sun. Nov 28th, 2021
How to install the Android SDK (Software Development Kit)
Install Android SDK

The Android Software Development Kit (SDK) is a vital a part of Android improvement for inexperienced persons to come to grips with. It’s a number of information bundled collectively that you’ll want to start creating Android apps. It consists of instruments like the digital machine supervisor (emulator) and ADB bridge, in addition to a library of further code for making Java applications work with the Android platform. For extra on what you get with the Android SDK, try the Android SDK tutorial for inexperienced persons.

Also learn: Java tutorial for inexperienced persons

How to install the Android SDK

While this may all sound fairly difficult, there may be excellent news: you don’t want to fear about the Android SDK a lot in any respect anymore. For the most half will probably be dealt with in the background for you.

The SDK is now included with Android Studio. Android improvement for inexperienced persons is getting simpler and simpler and this comparatively current change means you now solely want to undergo a single set up to get your improvement setting up and operating. There’s even an open Java Development Kit (JDK) included, so that you now not want to individually install the newest model individually.

How to install the Android SDK

Setting up Android improvement for inexperienced persons has change into a comparatively streamlined course of. It includes just a few quite massive information — so be ready for that and a few prolonged obtain instances.

Updating the SDK

When you install Android Studio, you’ll mechanically get the newest model of the Android SDK. The SDK is consistently being up to date with new options and safety updates. It’s your job to make sure you maintain tempo with these modifications, so you may help the newest variations.

JDK and Android SDK

To make it easier to do that, Android Studio gives one thing referred to as an SDK supervisor. This is a program particularly for downloading elements of your SDK. Open the supervisor by heading to Tools > SDK Manager. You’ll be greeted with a listing of information below the tabs SDK Platforms and SDK Tools.

The SDK platforms are the Android platforms you may develop for. You want no less than one to create a working app. If you select the newest model, you’ll have the option to help all the newest options of Android.

Android SDK for Beginners

New variations of Android ought to be backward suitable, so except you’re a professional developer trying to make use of a leading edge characteristic, you’re in all probability fantastic to ignore this tab when you’ve gone by way of the preliminary set up. It will make Android improvement simpler for inexperienced persons.

Under the SDK Tools tab, you’ll discover a record of the different parts that make up the SDK. You can install these individually. Those which have a blue field with a touch by way of are prepared for updating. The most vital issues listed here are the Android SDK Build-Tools, the Android SDK Platform-Tools, and the Android SDK Tools. You might also need the Android Emulator and system photos if you happen to plan on operating and testing your apps in your PC.

In the meantime you may principally overlook all about the SDK supervisor if you happen to’re a newbie

Android Studio will let you already know if any updates are obligatory, so you may principally overlook all about the SDK supervisor (likewise, Android Studio itself will immediate you when it’s prepared for an replace).  Now you understand how to begin supporting the most up-to-date variations of Android, when you graduate from newbie to standing that’s.

Using the Android SDK by itself

You could also be questioning whether or not you should utilize the Android SDK by itself, or whether or not you’ll ever want to.

The one use-case the place that is handy is if you happen to ever end up needing to use a special Integrated Development Environment (IDE), equivalent to Unity (as an alternative of Android Studio). Unity is a sport engine and “game maker” that can be utilized to create Android video games. You’ll use a totally totally different interface and even a special programming language (C#), however you’ll nonetheless want a replica of the Android SDK for that program to be compiled into an APK prepared to run on Android. The similar goes for Android improvement utilizing different instruments like Xamarin.

Xamarin with Android sdk

If you need to make it as straightforward as doable to begin Android improvement as a newbie, I like to recommend you continue to install Android Studio together with the SDK as earlier than (you’ll nonetheless want the JDK too). When you undergo this course of, simply make a remark of the path the place the SDK is put in. Yyou will want this to inform different IDEs the place the SDK is positioned in your pc. You’ll discover there’s the possibility to enter the path for the SDK someplace in the settings (Google is your good friend if you happen to’re undecided the place that’s), now simply copy and paste! Installing the Android SDK this manner is less complicated for inexperienced persons, and it additionally means you’ll have Android Studio readily available do you have to ever need to strive conventional Android improvement.

Also learn: Getting to know Android Studio and the information that make up your app

Note that relying on the IDE, you may want to install the Java Development Kit (JDK) individually and supply a path for this too. To install the JDK, simply head over to this web page at Oracle.com and obtain the newest model. Once that’s finished, click on on the .exe file after which comply with the steps by clicking Next.

Some IDEs offers you the possibility to obtain Android Studio mechanically whenever you undergo the set-up course of, which is a characteristic that’s new for Unity.

Android SDK command line tool

Installing all of those further information will take up numerous house in your pc. If you’re actually eager to maintain issues to a minimal, you may at all times obtain the “command line tools only” possibility. You’ll discover this by scrolling down the web page the place you discovered Android Studio and downloading the zip file on your particular working system. You’ll discover directions on how to use this right here and you’ll seize the command-line instruments from right here. Theoretically, this is also helpful if you happen to ever need to use a particular software included in the SDK, equivalent to the ADB bridge.

That’s all there may be to downloading and putting in the Android SDK! This is one among the first and most vital steps when it comes to Android improvement for inexperienced persons, so effectively finished!
 

By admin