Comments (5)
@Plantake Could you, please, clarify? You mean the vibration API?
from flutter_vibration.
Hello, I have been used this package for months but recently I got this warning when building apk files
Note: C:\Users\xxx\AppData\Local\Pub\Cache\hosted\pub.dev\vibration-1.8.3\android\src\main\java\com\benjaminabel\vibration\VibrationPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
build.gradle
defaultConfig {
minSdkVersion Math.max(flutter.minSdkVersion, 19)
}
Could you please help me this? Thank you.
from flutter_vibration.
Note: /opt/hostedtoolcache/flutter/3.19.5-stable/x64/.pub-cache/hosted/pub.dev/vibration-1.8.4/android/src/main/java/com/benjaminabel/vibration/VibrationPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Caught exception: Already watching path: /opt/hostedtoolcache/flutter/3.19.5-stable/x64/packages/flutter_tools/gradle
e: /home/runner/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlinx/kotlinx-coroutines-android/1.7.1/c2d86b569f10b7fc7e28d3f50c0eed97897d77a7/kotlinx-coroutines-android-1.7.1.jar!/META-INF/kotlinx-coroutines-android.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
e: /home/runner/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlinx/kotlinx-coroutines-core-jvm/1.7.1/63a0779cf668e2a47d13fda7c3b0c4f8dc7762f4/kotlinx-coroutines-core-jvm-1.7.1.jar!/META-INF/kotlinx-coroutines-core.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
e: /home/runner/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.8.21/[43](https://github.com/SeeleInc/Seele/actions/runs/8624919854/job/23640673284#step:6:44)d50ab85bc7587adfe3dda3dbe579e5f8d51265/kotlin-stdlib-1.8.21.jar!/META-INF/kotlin-stdlib-jdk7.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
e: /home/runner/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.8.21/43d50ab85bc7587adfe3dda3dbe579e5f8d51265/kotlin-stdlib-1.8.21.jar!/META-INF/kotlin-stdlib.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
e: /home/runner/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.8.21/43d50ab85bc7587adfe3dda3dbe579e5f8d51265/kotlin-stdlib-1.8.21.jar!/META-INF/kotlin-stdlib-jdk8.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
e: /home/runner/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-common/1.8.21/d749cd5ae25da36d06e5028785038e24f9d37976/kotlin-stdlib-common-1.8.21.jar!/META-INF/kotlin-stdlib-common.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
from flutter_vibration.
I have the same error, fix it please.
from flutter_vibration.
Note: W:\Apps\FlutterCache\hosted\pub.dev\vibration-1.9.0\android\src\main\java\com\benjaminabel\vibration\VibrationPlugin.java uses or overrides a deprecated API.
from flutter_vibration.
Related Issues (20)
- Vibration works only once but never more than that HOT 4
- Throws exception on web, doesn't work HOT 1
- Remove references to deprecated v1 Android embedding
- VibrationPlugin.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.
- 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
- Face this error in android studio terminal HOT 4
- 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 5
- iOS errors - vibrate with custom duration and vibration cancel not working HOT 3
- 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.