相关疑难解决方法(0)

任务执行失败':app:compileDebugAidl':缺少aidl

我在我的电脑上安装了Android Studio.我创建了一个新项目,但下面给出了错误.我能做什么?

Error:Execution failed for task ':app:compileDebugAidl'.
> aidl is missing
Run Code Online (Sandbox Code Playgroud)

我的Android Studio版本是1.1.0.

这是我的build.gradle档案:

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:1.1.0'
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}
allprojects {
    repositories {
        jcenter()
    }
}
Run Code Online (Sandbox Code Playgroud)

而且:

apply plugin: 'com.android.application'

android {
    compileSdkVersion 21
    buildToolsVersion "24.1.2"

    defaultConfig {
        applicationId "com.example.jo.cloning_a_login_screen"
        minSdkVersion 13
        targetSdkVersion 21
        versionCode 1
        versionName "1.0"
    }
    buildTypes { …
Run Code Online (Sandbox Code Playgroud)

android aidl android-studio build.gradle android-gradle-plugin

67
推荐指数
5
解决办法
11万
查看次数

AndroidStudio:无法同步安装构建工具

大约几个小时就对这个错误感到疯狂.

错误是:

failed to find Build Tools revision 23.0.0 rc1
Run Code Online (Sandbox Code Playgroud)

但我想要全部更新(也是发布候选人!)

这是形象:谢谢.在此输入图像描述

android build android-layout

45
推荐指数
4
解决办法
14万
查看次数

Android Studio 1.2.1.1上始终缺少"aidl"

我使用的是Android Studio版本1.2.1.1,每次创建新应用程序时,错误日志都会显示"错误:任务执行失败":app:compileDebugAidl'.

aidl缺失",我知道这个问题的解决方案是,点击app目录并选择打开模块设置,编译的sdk版本和构建工具版本必须相应地设置.我需要一个适当的解决方案来解决这个问题而且我不要我想在每个应用程序创建时重复所有这些步骤.任何人都可以帮助我plz ???

android android-studio

0
推荐指数
1
解决办法
3089
查看次数