Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is Android SDK build-tools, platform-tools and tools?

I know that this is a pretty basic question. But I am new to native android development and I am having trouble wrapping my head around what is what.

I am using the Android Standalone SDK and not using Android Studio so please guide be accordingly.

Let's say that I want to build my app for API level 19. what level of platform tools and build tools do I need to install.

This is what I have currently

enter image description here

enter image description here

As I want to build for API 19, which I have installed. Do I need to have version 19 of Android SDK build tools or they can be higher?

Kindly please explain to me what each term means as well in laymen's terms.

-Thanks

like image 847
krv Avatar asked Jan 17 '17 12:01

krv


People also ask

What is SDK platform and SDK tools?

Android SDK Platform-Tools is a component for the Android SDK. It includes tools that interface with the Android platform, primarily adb and fastboot . Although adb is required for Android app development, app developers will normally just use the copy Studio installs.

What are the tools present in the SDK?

The Android software development kit (SDK) includes different components, including SDK Tools, Build Tools, and Platform Tools. The SDK Tools primarily includes the stock Android emulator, hierarchy viewer, SDK manager, and ProGuard. The Build Tools primarily include aapt (Android packaging tool to create .

What does Android SDK mean?

SDK is the acronym for “Software Development Kit”. The SDK brings together a group of tools that enable the programming of mobile applications. This set of tools can be divided into 3 categories: SDKs for programming or operating system environments (iOS, Android, etc.)


1 Answers

Build-Tools is a component of the Android SDK required for building Android apps. It's installed in the /build-tools/ directory

So, build tool is to build your android app. That is like the makefile for C projects. Output is an APK file.

Android SDK Tools is a component for the Android SDK. It includes the complete set of development and debugging tools for Android. It is included with Android Studio.

So, Platform tool is where all the tool to interact with the android device you have, such as fastboot and adb. For example, to install your apk into the devices, run it, debug it, and grep some file from it, you need to first connect your device to adb bridge and run all those command on it.

Let's say that I want to build my app for API level 19. what level of platform tools and build tools do I need to install.

Basically, you should have all the latest thing here. If you are deploying for a API 19 device, you should also have the Android SDK platform 19.

I haven't touch those things in a while, because I install all those things anyway, so I'd appreciate correction.

like image 148
DeanK Avatar answered Oct 23 '22 07:10

DeanK