ADK vs JDK vs SDK 区别? [英] ADK vs JDK vs SDK difference?

查看:27
本文介绍了ADK vs JDK vs SDK 区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近,我对以DK"结尾的词感到不知所措.

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

我知道这些缩写代表什么.ADK:配件开发套件(Android)JDK:Java 开发工具包SDK:软件开发工具包

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

但我仍然对他们实际做什么感到困惑.在我的 Android Studio 中,有 .java 和 .xml 等.

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

ADK 是否用于 .xml 文件?JDK 是否用于 .java 文件?SDK怎么样?

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.

谢谢!

推荐答案

SDK 是 Software Development Kit 的首字母缩写词.这不是 Java 特有的,因为您可以拥有适用于几乎任何语言的 SDK.它几乎只是一个包的术语,它具有使用相关语言构建东西的工具.

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 是 Java 开发工具包.这将用于开发 Java 应用程序.它包含 jars、库和工具,允许您编写和编译可以在 JRE(Java 运行时环境)上运行的 Java 文件.如果您的系统上只安装了 JDK,那么您将很难为 Android 开发,因为没有关键包.您必须自己安装它们.

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 是 Android 开发工具包.它本质上是 Java,但使用 Android 代码进行了定制.它还包含对模拟器和工具的支持,以帮助开发 Android 应用程序.您可以使用 ADK 编写常规的 ole java 应用程序,因为它的核心是 java.它只有大量其他专门用于 android 开发的类.

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 只是一个定制版的 IntelliJ IDE.常规 IntelliJ 用于 Java 开发,其中 Android Studio 是完全相同的东西,只是添加了 Android 开发工具.您可以在 Android Studio 中构建 Java 程序吗?你肯定可以,因为它的核心是一个 Java IDE.

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 是一种语言的任何开发工具包的总称.ADK 是一个 Java 开发工具包,但它是为特定于 Android 的开发而定制的.JDK 是用于开发 Java 应用程序的 Java 开发工具包.

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.

这篇关于ADK vs JDK vs SDK 区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆