始终与QUOT; AIDL"缺少在Android工作室1.2.1.1 [英] Always "aidl" is missing on Android Studio 1.2.1.1

查看:98
本文介绍了始终与QUOT; AIDL"缺少在Android工作室1.2.1.1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的Andr​​oid Studio版本1.2.1.1,每时创建新的应用程序时,错误日志显示错误:执行失败的任务:应用程序:compileDebugAidl。


  

AIDL缺失,我知道这个问题,写点击应用程序目录,并选择打开模块设置,并编译SDK版本和构建工具的版本必须设置accordingly.I需要为这个问题的妥善解决该解决方案我不想重复上的每个应用程序所有这些步骤creation.Can有人帮我PLZ ???



解决方案

您有项目设置组合无效在摇篮构建文件,可能是由您从SDK Manager安装M开发preVIEW位造成的。

除非你特别想测试M开发preVIEW,改变你的 buildToolsVersion 22.0.1 在你的应用模块的的build.gradle 文件。现在,它很可能是类似 23.0.0_rc1

I am using Android Studio version 1.2.1.1,and every time when create a new app ,error log shows "Error:Execution failed for task ':app:compileDebugAidl'.

aidl is missing" ,I know the solution for this problem is ,to write click on the app directory and select open module settings ,and compiled sdk version and build tool version must set accordingly.I need a proper solution for this problem and i don't want to repeat all these steps on every app creation.Can anybody help me out plz???

解决方案

You have an invalid combination of project settings in your Gradle build files, probably caused by your installing the M Developer Preview bits from the SDK Manager.

Unless you are specifically trying to test the M Developer Preview, change your buildToolsVersion to be 22.0.1 in your app module's build.gradle file. Right now, it is probably something like 23.0.0_rc1.

这篇关于始终与QUOT; AIDL"缺少在Android工作室1.2.1.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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