android - 任务 ':app:compileDebugAidl' 执行失败。 > aidl 不见了

标签 android

这是我的 build.gradle (MyApplication)。

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:1.3.0'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        jcenter()
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

Execution failed for task ':app:compileDebugAidl'. > aidl is missing

我遇到了这个错误。我怎样才能解决这个问题? 帮助我。

最佳答案

一般在低版本构建gradle时会出现这个问题。请将您的构建工具版本更新到最新版本,即 23.0.1,它会工作

关于android - 任务 ':app:compileDebugAidl' 执行失败。 > aidl 不见了,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33387161/

相关文章:

android - Android 中带复选框的多级 ExpandableListView

java - Android: fragment 交互监听器出错

java - 使用 AndEngine GLES2 在游戏中使用 Sprites 的最佳实践

java - 如何为 WiFi Direct 连接设置特定的引脚?

java - 如何设置共享首选项

android - 将 Scala 与 Gradle 一起用于 Android 项目

android - 在 proguard 之后运行 espresso 测试

android - 右下角的背景图片?

java - 如果 blob 超过 2MB,getBlob() 会崩溃,substr 方法不起作用

java - 如何使用 TextView 或任何布局制作横幅或功能区