Android开发中平台工具和SDK工具有什么区别?

发布于 2024-12-26 10:37:55 字数 60 浏览 1 评论 0原文

我无法理解 Android 平台工具和 Android SDK 工具之间的区别。 谁能给我简单介绍一下吗?

I can't get the difference between Android platform-tools and and Android SDK tools.
can any one give my a brief?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

季末如歌 2025-01-02 10:37:55

SDK Tools 是 Android SDK 的可下载组件。它包括Android SDK的全套开发和调试工具,如模拟器、sdcard、sqlite和apk builder等。
平台工具用于支持当前 Android 平台的功能,包括 adb,它就像与模拟器或设备进行通信的桥梁。

SDK Tools is a downloadable component for the Android SDK. It includes the complete set of development and debugging tools for the Android SDK like emulator, sdcard, sqlite and apk builder etc..
Where as Platform-tools are used to support the features for the current android platform including adb which is acting like a bridge to communicate with emulator or device.

寄居者 2025-01-02 10:37:55

Android SDK 可以分为几个组件。其中包括:

  1. 平台工具
  2. 构建工具
  3. SDK 工具
  4. Android 调试桥 (ADB)
  5. Android 模拟器

该软件包中最重要的部分位于 SDK-tools 中。无论您的目标是哪个版本的 Android,您都将需要这些工具。这些才是真正创建 APK 的内容——将您的代码转换为可以在手机上启动的 Android 应用程序。其中包括许多构建工具、调试工具和图像工具。

构建工具曾经与平台工具分类在同一标题下,但后来被分离,以便可以单独更新。顾名思义,构建 Android 应用程序(生成最终的 APK)也需要这些。

平台工具更适合您想要定位的 Android 版本。一般来说,最好安装最新的平台工具,但首次安装后,您需要不断更新平台工具。

Android 调试桥 (ADB) 是一个允许您与任何 Android 设备通信的程序。它依赖于平台工具来了解正在使用的 Android 版本。

Android 模拟器可让您在 PC 上测试和监控应用程序,而无需拥有可用的设备。

有关更多信息此处

The Android SDK can be broken down into several components. These include:

  1. Platform-tools
  2. Build-tools
  3. SDK-tools
  4. The Android Debug Bridge (ADB)
  5. Android Emulator

The most important parts of this package are in the SDK-tools. You will need these tools regardless of which version of Android you are targeting. These are what will actually create the APK – turning your code into an Android app that can be launched on a phone. These include a number of build tools, debugging tools, and image tools.

The Build tools were once categorized under the same heading as the Platform tools but have since been decoupled so that they can be updated separately. As the name suggests, these are also needed to build your Android apps (generating the final APK).

The Platform tools are more specifically suited to the version of Android that you want to target. Generally, it is best to install the latest Platform tools, after first installation though, you need to keep your Platform-tools constantly updated.

The Android Debug Bridge (ADB) is a program that allows you to communicate with any Android device. It relies on Platform-tools in order to understand the Android version that is being used.

The Android emulator is what lets you test and monitor apps on a PC, without necessarily needing to have a device available.

For more info here

黄昏下泛黄的笔记 2025-01-02 10:37:55

简单来说:

每次Google发布新版本的Android时,都会发布相应的Android SDK。为了能够编写具有最新功能的程序,开发人员必须下载并安装Android版本的SDK。

Android SDK 分为 2 组:

  1. Android SDK 工具: Android SDK 工具是 Android SDK 的组件。它包括开发和调试工具,这些工具对于任何 Android 应用程序(或应用程序)开发都是必不可少的。因此,开发 Android 应用程序(或应用程序)所需的完整软件开发工具包。其重要工具有 Android SDK Manager、Android Virtual Device Manager、Android Emulator 等。
  2. Android Platform Tools(或 Android SDK Platform Tools): Android SDK Platform-Tools是Android SDK的一个组件。它经过定制以支持最新版本 Android 的功能。每当我们安装新的 Android SDK 平台时它就会更新。 Android 平台工具的每次更新都是向后兼容的。 Android 平台工具包括 aidl、adb、aapt、dexdump 和 dx。而这些工具大多被ADT和Android构建工具调用。因此很少需要直接调用这些工具。

注意: Android SDK 平台工具是 Android SDK 的组件,而不是 Android SDK 平台。 Android SDK 平台工具只需通过更新 Android SDK 平台即可更新。

In simple words:

Every time Google releases a new version of Android, a corresponding Android SDK is also released. To be able to write programs with the latest features, developers must download and install Android version’s SDK.

Android SDK is classified into 2 groups:

  1. Android SDK Tools : Android SDK Tools is a component for the Android SDK. It includes development and debugging tools which all are essential for any Android app(or application) development. So complete kit for software development required for development of an Android app(or application).Its important tools are Android SDK Manager, Android Virtual Device Manager, Android Emulator, etc.
  2. Android Platform Tools (or Android SDK Platform Tools) : Android SDK Platform-Tools is a component for the Android SDK. It is customized to support features of latest version of Android. It gets updated whenever we install a new Android SDK Platform. Each update of the Android Platform Tools is backward compatible. Android Platform Tools include aidl, adb, aapt, dexdump, and dx. And these tools are mostly called by ADT and Android build tools. So very rarely it is required to invoke these tools directly.

Note : Android SDK Platform Tools is a component of Android SDK not the Android SDK Platform. Android SDK Platform Tools just get updated by updating Android SDK Platform.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文