gpt4 book ai didi

android - 如何在我的 Android 项目中使用其他 API 版本作为构建目标?

转载 作者:太空狗 更新时间:2023-10-29 14:57:39 26 4
gpt4 key购买 nike

简介

  1. 我是 Android 开发新手
  2. 使用 Eclipse Luna r24.1.2JDK 8
  3. 我无法使用 Android Studio,因为它在我的计算机上滞后太多

问题

我无法在 Compile With 下拉列表中选择高于 API 版本 8 的构建目标。但是,我可以选择高于此版本的最小 API 和目标 API。

因此,我无法开始项目/选择 Activity 。

我该如何克服这个问题?我需要通过 SDK 管理器下载任何东西吗?

Eclipse Window

最佳答案

下载 API 版本

您需要通过SDK manager下载您希望使用的API版本 .完成此操作后,所有下载的版本都将作为选项出现在 Compile With 下拉列表中。

通过 SDK 管理器 (Eclipse) 安装

  1. 窗口 > Android SDK 管理器
  2. 检查所需的其他 API 版本例如安卓 4.0 (API14)
  3. 按安装 [x] 个包
  4. 重新启动 Eclipse

SDK Manager

These instructions are from the SDK Manager guide. This also details instructions for Android Studio and other operating systems (Mac, Linux).


我个人建议移动到使用 Android Studio ,但这个选择取决于你。

关于android - 如何在我的 Android 项目中使用其他 API 版本作为构建目标?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29862738/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com