mop-flutter-sdk icon indicating copy to clipboard operation
mop-flutter-sdk copied to clipboard

The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher.

Open jianxingbieli opened this issue 7 months ago • 2 comments

你好,flutter升级到3.13.9时,安卓打包 报下面错误

The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher. The following dependencies do not satisfy the required version: project ':mop' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.61

[✓] Flutter (Channel master, 3.13.9, on macOS 14.1.1 23B81 darwin-x64, locale zh-Hans-CN) • Flutter version 3.13.9 on channel master at /Users/lhh/Documents/develop/Src/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision d211f42860 (6 weeks ago), 2023-10-25 13:42:25 -0700 • Engine revision 0545f8705d • Dart version 3.1.5 • DevTools version 2.25.0 • Pub download mirror https://pub.flutter-io.cn • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3) • Android SDK at /Users/lhh/Library/Android/sdk • Platform android-34, build-tools 30.0.3 • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231) • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 15A240d • CocoaPods version 1.14.2

[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] VS Code (version 1.84.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.78.0

[✓] Connected device (3 available) • iPhone 15 Pro (mobile) • 9E6156BC-69F1-43C6-8517-AF8CF82EA9A2 • ios • com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator) • macOS (desktop) • macos • darwin-x64 • macOS 14.1.1 23B81 darwin-x64 • Chrome (web) • chrome • web-javascript • Google Chrome 119.0.6045.123

[✓] Network resources • All expected network resources are available.

jianxingbieli avatar Dec 05 '23 07:12 jianxingbieli

有沒有解決,同样遇到了

canyuegongzi avatar Jan 07 '24 07:01 canyuegongzi

有沒有解決,同样遇到了 需要自己拉个分支,然后调整kotlin的版本为1.6.20

jianxingbieli avatar Apr 18 '24 08:04 jianxingbieli