android插件问题,请求更新,但已经全部更新

时间:2016-10-09 11:04:37

标签: android android-gradle

我知道之前也有人问过,但我尽我所能。 我已经从SDK管理器中更新了所有内容,但我仍然在使用我刚创建的项目时遇到此问题。

我还没有提供任何功能,但问题是该插件太旧了,请更新或更改ANDROID_DAILY_ENVIRONMENT变量。

这是我的gradle文件

apply plugin: 'com.android.application'

android {
compileSdkVersion 24
buildToolsVersion "21.1.2"

defaultConfig {
    applicationId "com.example.manav.loginapp"
    minSdkVersion 21
    targetSdkVersion 24
    versionCode 1
    versionName "1.0"
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:24.2.1'

compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha1'
}

0 个答案:

没有答案