Giter Club home page Giter Club logo

Comments (4)

shinayser avatar shinayser commented on June 26, 2024 3

I've fixed by upgrading my gradle to 7.2.2 on my app's build.gradle:

dependencies {
		classpath 'com.android.tools.build:gradle:7.2.2'
}

from flutter_vibration.

benjamindean avatar benjamindean commented on June 26, 2024

The project is on Android Gradle Plugin 8.0. You can either upgrade, or remove the namespace if it's not possible to upgrade.

from flutter_vibration.

shinayser avatar shinayser commented on June 26, 2024

Are you sure @benjamindean ? because on the build.gradle file it is importing this version:

classpath 'com.android.tools.build:gradle:3.5.0'

I am also having the same problem of @30eggis and trying to find a solution

from flutter_vibration.

30eggis avatar 30eggis commented on June 26, 2024

i solved this issue, it is my fault.

my problem occured after upgrade Flutter version ( to 3.10.0 )

if you face similar this issue, then check your android project

1st step : gradle.wrapper.properties.
maybe you had older gradle version,
(in my case -> distributionUrl=https://services.gradle.org/distributions/gradle-7.2-all.zip)
you should match gradle version to support gradle version of flutter.
(in my case -> distributionUrl=https://services.gradle.org/distributions/gradle-7.5.1-all.zip)

2nd step : app/build.gradle
buildscript {
ext.kotlin_version = $kotlin_version
dependencies {
classpath 'com.android.tools.build:gradle:$gradle_version'
}
}
also $kotlin_version and $gradle_version fix to match from flutter version

happy coding,

Thank you for your response

from flutter_vibration.

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.