Giter Club home page Giter Club logo

Comments (3)

andrepura avatar andrepura commented on July 3, 2024 2

i fixed the problem by updating to newer versions in build.gradle (see: kotlin_version && build:gradle)

buildscript {
    ext.kotlin_version = '1.8.22'
    repositories {
        google()
        mavenCentral()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:7.0.2'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }
}

and updateing gradle-wrapper.properties in

distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip

could be possibile that newer gradle versions will work but i haven't tested it yet.

i also updated my sdk command line tools (they were out of sync with the android studio version)

from flutter_reactive_ble.

andrepura avatar andrepura commented on July 3, 2024

i have the same issue here
`
FAILURE: Build failed with an exception.

  • Where:
    Build file 'C:\Users\AndrePura\AppData\Local\Pub\Cache\hosted\pub.dev\reactive_ble_mobile-5.3.0\android\build.gradle' line: 40

  • What went wrong:
    A problem occurred evaluating project ':reactive_ble_mobile'.

No signature of method: build_ahn2lhvy9c9apm415rd8cuhg0.android() is applicable for argument types: (build_ahn2lhvy9c9apm415rd8cuhg0$_run_closure2) values: [build_ahn2lhvy9c9apm415rd8cuhg0$_run_closure2@616bb527]

`

flutter_reactive_ble: ^5.3.0
compileSdkVersion 33
Flutter 3.16.9

from flutter_reactive_ble.

KonstantinidouCh avatar KonstantinidouCh commented on July 3, 2024

i fixed the problem by updating to newer versions in build.gradle (see: kotlin_version && build:gradle)

buildscript {
    ext.kotlin_version = '1.8.22'
    repositories {
        google()
        mavenCentral()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:7.0.2'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }
}

and updateing gradle-wrapper.properties in

distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip

could be possibile that newer gradle versions will work but i haven't tested it yet.

i also updated my sdk command line tools (they were out of sync with the android studio version)

That seems to solve my problem! Thank you!

from flutter_reactive_ble.

Related Issues (20)

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.