请教 android studio 使用 flutter tts 的版本兼容问题

10次阅读

共计 615 个字符,预计需要花费 2 分钟才能阅读完成。

输出
┌─ Flutter Fix ──────────────────────────────────────────────────────────────────────────────┐
│ [!] 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 D:projectlearnandroidbuild.gradle: │
│ ext.kotlin_version = ‘‘ │
└────────────────────────────────────────────────────────────────────────────────────────────┘
Error: Gradle task assembleDebug failed with exit code 1

尝试过的
1. 加入代码
buildscript {
ext.kotlin_version = ‘‘ /// use latest-version, 尝试过输入各种版本
repositories {
google()
mavenCentral()

2. 手动下载 kotlin 并配置环境变量

下载的 kotlin 和 Android studio 里的插件都是 1.9.23

我应该做什么

正文完
 0