Android studio - 无法找到目标 android-18 [英] Android studio - Failed to find target android-18

查看:25
本文介绍了Android studio - 无法找到目标 android-18的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用 Android Studio 0.2.3 时遇到问题.

I have a problem with Android Studio 0.2.3.

当我运行我的项目时,构建会停止并显示以下消息:

When I run my project the build stops and appears message that says:

Gradle:任务 ':AppName:compileDebugAidl' 的执行失败.
> 未能找到目标 android-18

Gradle: Execution failed for task ':AppName:compileDebugAidl'.
> failed to find target android-18

虽然我已经安装了Android 4.3(API 18)的SDK平台,我尝试重新安装所有的SDK.我还在系统变量中添加了 ANDROID_HOME 变量.

although I have installed the SDK platform of Android 4.3 (API 18) and I tried to reinstall all the SDK. I've also added the ANDROID_HOME variable in the system variables.

这个错误的根源是什么?

What seems to be the source of this error?

推荐答案

我想你可能没有安装 Android-18 sdk.转到工具">Android">SDK 管理器"并检查是否已安装 Android 4.3 (API 18).

I think you might not have the Android-18 sdk installed. Go to Tools > Android > SDK Manager and check to see if Android 4.3 (API 18) is installed.

这篇关于Android studio - 无法找到目标 android-18的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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