Comments (4)
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.
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.
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.
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)
- Vibration works only once but never more than that HOT 4
- Vibration on web? HOT 3
- iOS : Conflict with SystemSound.play(SystemSoundType.click)
- MissingPluginException on Linux desktop HOT 2
- Doesn't vibrate during phone calls
- Vibrate fails on iOS using custom pattern HOT 16
- Fix vibration web HOT 2
- Small Vibration interval not working HOT 2
- hasVibrator() throws exceptions on MacOS HOT 5
- Problem building on Android HOT 1
- Web version not working
- Deprecation warning HOT 3
- Impossible to do a small vibration HOT 3
- Problem with ios 16 HOT 3
- iOS errors - vibrate with custom duration and vibration cancel not working HOT 2
- Avoid static methods so we can mock it HOT 1
- Please add 1.8.4 version to changelog HOT 1
- Migrate to package:web to support WASM HOT 1
- Support OpenHarmony HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_vibration.