Error:Cause: buildToolsVersion is not specified.

出现原因,是用3.0版本的项目导入低版本,修改,修改,修改。然后爆出的问题

 

1,问题 

 

Error:Cause: buildToolsVersion is not specified.

 

 

2,解决问题 

apply plugin: 'com.android.application'

apply plugin: 'org.greenrobot.greendao'

android {

    compileSdkVersion 26

    

    defaultConfig {

        applicationId "com.m.alarmdemoproject"

        minSdkVersion 15

        targetSdkVersion 26

        versionCode 1

        versionName "1.0"

        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

    }

   

}

 

   在当前android添加:buildToolsVersion"26.0.0"   问题解决

apply plugin: 'com.android.application'

apply plugin: 'org.greenrobot.greendao'





android {

    compileSdkVersion 26

    buildToolsVersion"26.0.0"

}





dependencies {

   

}

 

你可能感兴趣的:(Android)