您的项目需要较新版本的 Kotlin Gradle 插件,但我已经使用最新版本

问题描述 投票:0回答:1

我已经在使用最新版本的 Kotlin Gradle,但我不断收到此错误:

buildscript {
    ext.kotlin_version = '1.8.20'
    repositories {
        google()
        mavenCentral()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:7.3.1'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }
}



│ [!] Your project requires a newer version of the Kotlin Gradle plugin.                            │
│ Find the latest version on https://kotlinlang.org/docs/releases.html#release-details, then update │
│ /Users/sinamn75/Documents/NabzAfzar/NabzAfzar_flutter/android/build.gradle:                       │
│ ext.kotlin_version = '<latest-version>'     

我在项目和包上使用了很多不同的版本,但似乎没有任何效果。

flutter kotlin gradle
1个回答
0
投票

天哪,这似乎是颤振中的一个错误,我输入的密钥库密码错误,它指向完全不同的东西, 这从来都不是关于 kotlin 版本,而是关于密钥库密码...

© www.soinside.com 2019 - 2024. All rights reserved.