gpt4 book ai didi

java - "Error:Plugin is too old"这个gradle有什么问题?

转载 作者:行者123 更新时间:2023-12-01 09:34:45 26 4
gpt4 key购买 nike

它抛出以下错误。

Error:Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable to "ccbf255801ffbc86319e3fd14bdc0682272bf5c9"

FAILURE: Build failed with an exception.

Where: Build file 'E:\srk\android\app\build.gradle' line: 1

What went wrong: A problem occurred evaluating project ':app'. Failed to apply plugin [id 'com.android.application'] Could not create plugin of type 'AppPlugin'.

Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

apply plugin: 'com.android.application'

android {
compileSdkVersion 23
buildToolsVersion "24.0.1"

defaultConfig {
applicationId "com.vineyard.crash"
minSdkVersion 10
targetSdkVersion 23

ndk {
moduleName "player_shared"
}
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
dependencies {
compile 'com.google.android.gms:play-services:+'
compile files('libs/dagger-1.2.2.jar')
compile files('libs/javax.inject-1.jar')
compile files('libs/nineoldandroids-2.4.0.jar')
compile files('libs/PTAdVungle.jar')
compile files('libs/support-v4-19.0.1.jar')
}

最佳答案

在项目 build.gradle 中尝试此更改并再次同步 gradle

dependencies {
classpath 'com.android.tools.build:gradle:2.1.3'

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

关于java - "Error:Plugin is too old"这个gradle有什么问题?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39094311/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com