You must set up your computer and be ready to use it before you can install the Android SDK.
The first thing to do is install the Java development kit for the latest version of Java 7, which Java 8 does not work, but can be installed so smoothly. As for its operating system, it works almost all operating systems, including x86 (32 bits) and x86_64 (64 bits) based systems running Windows and Linux x86_64 Intel-based Macs. Google has made every effort to ensure that everything works well in any system, so this should not be a problem.
Google has launched an all-in-one tool for developers with a full-fledged IDE, virtual machine manager and, of course, the Android SDK. This is the simplest way and probably the best way to use Android SDK. All you have to do is download Android Studio from here and follow the instructions on the screen. It’s so simple, and if everything is set up, you can learn how to use Android Studio with this excellent guide here and learn all about the Android SDK.
Download the standalone SDK package:
This is more complicated but still very simple. However, keep in mind that there is no real advantage if you only download the SDK, even if you are going to use a third-party engine, as it will usually only be downloaded for you. If you plan to follow this route, you can download the SDK here. Once downloaded, unzip the folder and place it in a familiar and accessible location.
Depending on your operating system, there are some different ways to open the Android SDK.
If you click on Windows, double-click on the SDKManager.exe file in the root directory of the SDK directory. On OS X and Linux, go to the “Tools /” folder in the SDK and open a terminal window and type:
To open the SDK Manager, if that does not work, drag the Android executable file to the terminal window and press Enter. After opening, be sure to install the following packages, as well as all others that are relevant to what you want to achieve.
- Platform tools are used to support new and existing Android features, including Android Debugging Bridge, bmgr and logcat. The Android debug bridge (BAD) can be used to see what causes errors and processes that are running, as well as other things. bmgr is a utility used to manage the backup manager on an Android device with an API level of 8 or higher. It is accessible through the ADB.
- Compilation tools have been created to work with platform tools, but they can be updated independently if necessary. These include JOBB, ProGuard and zipalign. With JOBB, you can create encrypted and unencrypted APK extensions in OBB format. ProGuard can reduce your application and insurance by eliminating unused, renaming classes and such, this makes it more difficult for the reverse engineering people of your application and it makes the total size smaller, which is also an advantage. Zipalign optimizes the .apk files to start in a particular alignment relative to the beginning of a file.
- SDK tools are necessary and used, regardless of the version of Android that will be developed, these include: building tools, tools for debugging and image tools with others.
The Android Debugging Bridge (ADB) and the land ship are also included in case you have to disturb your device. Fastboot can be used to flash or delete partitions on your device in case something happens; this is very easy to do. The ADB can be used to solve problems with your device and applications.
If all this is installed, you are ready to start developing!
Gone are the days of making concerns about using Eclipse and downloading the Android development tools individually and through loops so that everything works correctly. Google makes it really exceeded by Android Studio, which is essentially the installation of just one click possible with everything necessary for the development of Android. But if you just want the Android SDK, it’s not a problem and it’s easy to configure. So what are you waiting for? Start to develop!