Android的工作室 - 无法找到目标的android-18目标、工作室、Android、android

2023-09-12 04:03:07 作者:我的高傲,尔等岂懂

我已经与Android工作室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:

摇篮:执行失败的任务: AppName的的:compileDebugAidl。   >未能发现目标的android-18

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

虽然我已经安装的Andr​​oid 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的SDK 18。转到工具>安卓> SDK管理器,查看是否的Andr​​oid 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.