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

The following dependencies do not satisfy the required version: project ':jni' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10 #1300

Open
tomfong opened this issue Aug 29, 2024 · 1 comment
Assignees
Labels
package:cronet_http type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@tomfong
Copy link

tomfong commented Aug 29, 2024

The following error was shown when debugging flutter app on Android:

FAILURE: Build failed with an exception.

* What went wrong:
The Android Gradle plugin supports only kotlin-android-extensions Gradle plugin version 1.6.20 and higher.
The following dependencies do not satisfy the required version:
project ':jni' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10

pubspec.yaml:

environment:
  sdk: '>=3.3.4 <4.0.0'
  flutter: ^3.19.6

dependencies:
  flutter:
    sdk: flutter

  http: ^1.2.2
  cronet_http: ^1.2.1
  cupertino_http: ^1.4.0

flutter doctor -v:

[✓] Flutter (Channel stable, 3.19.6, on macOS 13.6.7 22G720 darwin-x64, locale en-GB)
    • Flutter version 3.19.6 on channel stable at 
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 54e66469a9 (4 months ago), 2024-04-17 13:08:03 -0700
    • Engine revision c4cd48e186
    • Dart version 3.3.4
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at 
    • Platform android-34, build-tools 34.0.0
    • Java binary at: 
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11609105)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at 
    • Build 14C18
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at 

[✓] Android Studio (version 2024.1)
    • Android Studio at 
    • 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.10+0-17.0.10b1087.21-11609105)

[✓] VS Code (version 1.92.2)
    • VS Code at 
    • Flutter extension version 3.94.0

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

• No issues found!
@mraleph
Copy link
Member

mraleph commented Nov 15, 2024

@brianquinlan do we have something to do here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:cronet_http type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

3 participants