gpt4 book ai didi

api - 为什么会收到错误消息:Android Gradle插件仅支持Kotlin Gradle插件1.3.10及更高版本

转载 作者:行者123 更新时间:2023-12-03 04:35:06 24 4
gpt4 key购买 nike

我尝试启动我的应用程序,但出现错误...我启动了google_maps_flutter: ^1.0.2geolocator: ^2.1.0。因此,其中之一必须是问题,但我不知道该错误意味着什么。
错误:

FAILURE: Build failed with an exception.

* What went wrong:
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.10 and higher.
The following dependencies do not satisfy the required version:
root project 'android' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.71

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

* Get more help at https://help.gradle.org

BUILD FAILED in 6s
Exception: Gradle task assembleDebug failed with exit code 1
但是在我的 build.gradl中,我有一行: ext.kotlin_version = '1.3.50',它高于1.2.71

最佳答案

您必须使用geolocator版本geolocator: ^5.1.3

关于api - 为什么会收到错误消息:Android Gradle插件仅支持Kotlin Gradle插件1.3.10及更高版本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64296971/

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