设置 Android 开发环境

improve this page | report issue


概述

本教程说明了开发人员开发和测试 Android 应用程序所需执行的步骤。 这些步骤包括安装 Android Studio 和设置 Android SDK。

先决条件:设置 Android 开发环境时,请确保您还阅读了设置 MobileFirst 开发环境教程。

支持级别

MobileFirst SDK 与 Android 版的 Ice Cream Sandwich(API 级别 14)及更高版本兼容。

Android Studio

按照 Android Developers Web 站点中提供的步骤来下载和安装 Android Studio。

配置 Android SDK

Android SDK

Android SDK 提供了一些工具和 API,这些工具和 API 可用于通过 Java 编程语言在 Android 平台上开发应用程序。

在第一次打开 Android Studio 后,您就可以使用 SDK Manager 来配置 Android SDK。

在 SDK Manager 中,您可以安装必需的软件包。 有关更多信息,请访问 Android Developers Web 站点

Android 虚拟设备

您可以使用 AVD 来测试应用程序。 有关所有可用选项的详细说明,请参阅 Android Developers Web 站点中的“管理虚拟设备”文档主题

后续操作

现在,您已经设置了 MobileFirst 和 Android 开发环境,接下来,您将转至快速入门类别来体验 MobileFirst,或转至全部教程来了解 MobileFirst 开发的特定方面。

Inclusive terminology note: The Mobile First Platform team is making changes to support the IBM® initiative to replace racially biased and other discriminatory language in our code and content with more inclusive language. While IBM values the use of inclusive language, terms that are outside of IBM's direct influence are sometimes required for the sake of maintaining user understanding. As other industry leaders join IBM in embracing the use of inclusive language, IBM will continue to update the documentation to reflect those changes.
Last modified on June 01, 2020