java.lang.IllegalStateException:Android studio 2.3.2中缺少aidl

时间:2017-06-06 03:31:32

标签: android android-gradle

我安装了新的Android插件版本2.3.2

我的gradle版本3.3

任何人都解决了这种错误,这对我有帮助,我从最近两天就坚持了这一点......

apply plugin: 'com.android.application'

android {
    compileSdkVersion 23
    buildToolsVersion "25.2.5"
    defaultConfig {
        applicationId "com.smaprojects.androidhello"
        minSdkVersion 19
        targetSdkVersion 23
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    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:23.+'
    compile 'com.android.support.constraint:constraint-layout:1.0.2'
    testCompile 'junit:junit:4.12'
}

0 个答案:

没有答案