简介
- 我是 Android 开发新手
- 使用 Eclipse Luna r24.1.2 和 JDK 8
- 我无法使用 Android Studio,因为它在我的计算机上滞后太多
问题
我无法在 Compile With
下拉列表中选择高于 API 版本 8 的构建目标。但是,我可以选择高于此版本的最小 API 和目标 API。
因此,我无法开始项目/选择 Activity 。
我该如何克服这个问题?我需要通过 SDK 管理器下载任何东西吗?
最佳答案
下载 API 版本
您需要通过SDK manager下载您希望使用的API版本 .完成此操作后,所有下载的版本都将作为选项出现在 Compile With
下拉列表中。
通过 SDK 管理器 (Eclipse) 安装
- 窗口 > Android SDK 管理器
- 检查所需的其他 API 版本例如安卓 4.0 (API14)
- 按安装 [x] 个包
- 重新启动 Eclipse
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/