Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - 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 ':fluttertoast' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50 #258

Closed
heitor598 opened this issue Oct 19, 2023 · 3 comments · May be fixed by #234
Assignees
Labels
New issue New issue which has not been checked yet

Comments

@heitor598
Copy link

heitor598 commented Oct 19, 2023

Describe the bug
When trying to update to classpath 'com.android.tools.build:gradle:7.4.2' i get the bug below..

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 ':fluttertoast' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50

To Reproduce
Steps to reproduce the behavior:

  1. Em android/build.gradle atualize para classpath 'com.android.tools.build:gradle:7.4.2'
  2. See error

Expected behavior
The application is built

Screenshots
Captura de Tela 2023-10-19 às 19 30 15

Flutter doctor

[✓] Flutter (Channel stable, 3.3.4, on macOS 13.5.1 22G90 darwin-x64, locale pt-BR)
    • Flutter version 3.3.4 on channel stable at /Users/heitorgomes/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision eb6d86ee27 (1 year ago), 2022-10-04 22:31:45 -0700
    • Engine revision c08d7d5efc
    • Dart version 2.18.2
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /Users/heitorgomes/Library/Android/sdk
    • Platform android-33, build-tools 33.0.2
    • ANDROID_HOME = /Users/heitorgomes/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.12.0

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

[✓] Android Studio (version 2022.2)
    • 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.6b802.4-9586694)

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

[✓] Connected device (3 available)
    • 2201117TY (mobile) • 192.168.1.4:5555 • android-arm64  • Android 13 (API 33)
    • macOS (desktop)    • macos            • darwin-x64     • macOS 13.5.1 22G90 darwin-x64
    • Chrome (web)       • chrome           • web-javascript • Google Chrome 118.0.5993.88

[✓] HTTP Host Availability
    • All required HTTP hosts are available

Catcher version

  • Version: 0.7.0

Smartphone (please complete the following information):

  • Device: Xiaomi redmi note 11
@heitor598 heitor598 added the New issue New issue which has not been checked yet label Oct 19, 2023
@heitor598
Copy link
Author

@jhomlala here the correction #259

@calcitem
Copy link

@jhomlala
Copy link
Owner

jhomlala commented Nov 9, 2023

Please update to version 0.8.0.

@jhomlala jhomlala closed this as completed Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New issue New issue which has not been checked yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants