java.lang.IllegalStateException:aidl缺少Android Studio 3.0
我拥有android studio 3.0中所有SDK和构建工具的最新版本,我一直得到这个aidl缺少错误 这是项目级和应用程序级的渐变文件java.lang.IllegalStateException:aidl缺少Android Studio 3.0,java,android,gradle,android-gradle-plugin,Java,Android,Gradle,Android Gradle Plugin,我拥有android studio 3.0中所有SDK和构建工具的最新版本,我一直得到这个aidl缺少错误 这是项目级和应用程序级的渐变文件 apply plugin: 'com.android.application' android { compileSdkVersion 25 buildToolsVersion '25.0.3' defaultConfig { applicationId "com.example.ibraheem.tesst"
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion '25.0.3'
defaultConfig {
applicationId "com.example.ibraheem.tesst"
minSdkVersion 23
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:25.3.1'
testCompile 'junit:junit:4.12'
compile 'com.android.support:design:25.3.1'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.android.support:support-vector-drawable:25.3.1'
}
//顶级生成文件,您可以在其中添加所有子项目/模块通用的配置选项
buildscript {
repositories {
maven { url 'https://maven.google.com' }
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0-alpha1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
maven { url 'https://maven.google.com' }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
构建工具和平台工具和工具必须在一个API上
我猜在android studio 3中,平台工具在Api 26上,将构建工具版本更改为Api 26构建工具和平台工具必须在一个Api上 我猜在AndroidStudio 3平台中,工具在API26上,请将构建工具版本更改为API26