GithubHelp home page GithubHelp logo

Comments (11)

devtronic avatar devtronic commented on July 17, 2024

Please write the output of flutter --version. Are you testing with a real device or an Android Emulator? Which Android version are you using? Please give also a minimal code example to reproduce the problem.

from flutter_p2p.

sylvere36 avatar sylvere36 commented on July 17, 2024

here's the return of flutter --version

~/Bureau/flutterp2p$ flutter --version
Flutter 1.12.13+hotfix.8 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 0b8abb4724 (il y a 3 semaines) • 2020-02-11 11:44:36 -0800
Engine • revision e1e6ced81d
Tools • Dart 2.7.0

And this is what I get when I run the build.

FAILURE: Build failed with an exception.

  • What went wrong:
    The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.10 and higher.
    The following dependencies do not satisfy the required version:
    project ':flutter_p2p' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.71

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 30s
Gradle task assembleDebug failed with exit code 1
Exited (sigterm)

from flutter_p2p.

sylvere36 avatar sylvere36 commented on July 17, 2024

And when I put in the requested version, it doesn't play either.

from flutter_p2p.

devtronic avatar devtronic commented on July 17, 2024

Sorry for the delay. I'll take a look on that this week

from flutter_p2p.

sylvere36 avatar sylvere36 commented on July 17, 2024

All right. Thanks for looking into it.

from flutter_p2p.

SteffNite avatar SteffNite commented on July 17, 2024

What happen with this bug? I wanted to give it a try but got this same error.

I was searching for fix and maybe you can try this: https://stackoverflow.com/a/54858719/3579284

p.s. Can this be tested on two different emulators?

from flutter_p2p.

devtronic avatar devtronic commented on July 17, 2024

I'm sorry but I'm busy AF at the moment. If anyone will try to fix this, PRs are welcome.

@SteffNite I didn't try it on emulators so I can not say if it would work

from flutter_p2p.

godilite avatar godilite commented on July 17, 2024

This error is fixed on PR

from flutter_p2p.

sohitEngg avatar sohitEngg commented on July 17, 2024

There is no version solving error but another problem with the MissingPluginException as per below
.
Unhandled Exception: MissingPluginException(No implementation found for method isLocationPermissionGranted on channel de.mintware.flutter_p2p/flutter_p2p)

from flutter_p2p.

medhak16 avatar medhak16 commented on July 17, 2024

Hey! I am getting this error and can't find my way around it. I did go through StackOverflow but the fixes didn't work for me.

FAILURE: Build failed with an exception.

  • What went wrong:
    The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.10 and higher.
    The following dependencies do not satisfy the required version:
    project ':flutter_p2p' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.71

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 12s
Exception: Gradle task assembleDebug failed with exit code 1

from flutter_p2p.

coderider007 avatar coderider007 commented on July 17, 2024

If anyone is still looking for a workaround (not a fix):

Downgrade the com.android.tools.build:gradle: to <flutter_p2p plugin's gradle version>

In my case it was: com.android.tools.build:gradle:3.2.1

This can be found in android/build.gradle file

buildscript {
    ext.kotlin_version = '1.3.50'
    repositories {
        google()
        jcenter()
    }

    dependencies {
        // classpath 'com.android.tools.build:gradle:3.5.0'
        classpath 'com.android.tools.build:gradle:3.2.1'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }
}

from flutter_p2p.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.