问题
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!
回答1:
SDK is a standard development kit. This isn't specific to Java as you can have a 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, just with added android development tools. Can you build java programs in Android Studio, 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 customized for android specific development. JDK is the java development kit for developing java applications.
Hope this helped.
回答2:
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.
来源:https://stackoverflow.com/questions/35248752/adk-vs-jdk-vs-sdk-difference