jhomlala / catcher

Flutter error catching & handling plugin. Handles and reports exceptions in your app!
Apache License 2.0
784 stars 175 forks source link

[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 closed 10 months ago

heitor598 commented 10 months ago

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

Smartphone (please complete the following information):

heitor598 commented 10 months ago

@jhomlala here the correction https://github.com/jhomlala/catcher/pull/259

calcitem commented 10 months ago

Try https://pub.dev/packages/catcher_2

jhomlala commented 10 months ago

Please update to version 0.8.0.