Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ADK vs JDK vs SDK difference?

Lately, I am quite overwhelmed with the words that end with "DK".

I know what these abbreviations stand for. ADK: Accessory Development Kit (Android) JDK: Java Development Kit SDK: Software Development Kit

But I am still confused what they actually do. In my Android Studio, there are .java and .xml, etc.

Is ADK used for .xml files? Is JDK used for .java files? how about SDK?

Sorry if it may be like a silly question but I'd appreciate if someone clarifies this for me.

Thanks!

like image 482
In-young Choung Avatar asked Feb 07 '16 01:02

In-young Choung


People also ask

What is the difference between JDK and SDK?

JDK is the SDK for Java. SDK stands for 'Software Development Kit', a developers tools that enables one to write the code with more more ease, effectiveness and efficiency. SDKs come for various languages. They provide a lot of APIs (Application Programming Interfaces) that makes the programmer's work easy.

What is difference between SDK and NDK?

Android provides Native Development Kit (NDK) to support native development in C/C++, besides the Android Software Development Kit (Android SDK) which supports Java.

What does SDK mean in Java?

A software development kit (SDK) is a collection of software development tools in one installable package. They facilitate the creation of applications by having a compiler, debugger and sometimes a software framework. They are normally specific to a hardware platform and operating system combination.

What is JDK and SDK in Android Studio?

They perform a lot better than Windows when it comes to Android development. Since Android's source code is in Kotlin (or Java), you'll need to install the Java Development Kit (JDK) as well. You can download it here. This installation pack contains both Android Studio and the SDK (software development kit).


2 Answers

SDK is an acronym for Software Development Kit. This isn't specific to Java as you can have an SDK for pretty much any language. It is pretty much just a term for a package that would have the tools to build stuff with its associated language.

JDK is the Java Development Kit. This what you would use to develop Java applications. It contains the jars, libraries, and tools to allow you write and compile java files that can run on the JRE (Java Runtime Environment). If you only have a JDK installed on your system, then you are going to have a hard time developing for Android since key packages are not there. You would have to install them yourself.

ADK is Android Development Kit. It is essentially Java but customized with Android code. It also contains the support for emulators and tools to help with developing Android apps. You can write regular ole java apps with an ADK since at its core, it is java. It just have a great deal of other classes that work specifically for android development.

Android Studio is just a customized version IntelliJ IDE. Regular IntelliJ is used for Java development where Android Studio is the exact same thing, just with added Android development tools. Can you build Java programs in Android Studio? You sure can because at its core it is a Java IDE.

TLDR; SDK is a blanket term for any package of development tools for a language. ADK is a Java development kit but it's customized for Android-specific development. JDK is the Java Development Kit for developing Java applications.

like image 152
Talon Avatar answered Oct 18 '22 21:10

Talon


JDK (Java Development Kit)

The JDK is what you need to develop Java applications. It comes in several varieties, including SE (Standard Edition), EE (Enterprise Edition), and ME (Micro Edition). It shouldn't be confused with the JRE (Java Runtime Environment), which is what you need to run Java applications.

SDK (Standard Development Kit)

A SDK is what you need to develop applications for a specific platform. The term can apply to any language, not just Java.

ADK (Accessory Development Kit)

The ADK is what you need to build Android accessories. It is a specific example of a SDK.

like image 24
ostrichofevil Avatar answered Oct 18 '22 21:10

ostrichofevil