Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VibrationPlugin.java uses or overrides a deprecated API #71

Open
Plantake opened this issue Jul 17, 2022 · 5 comments
Open

VibrationPlugin.java uses or overrides a deprecated API #71

Plantake opened this issue Jul 17, 2022 · 5 comments

Comments

@Plantake
Copy link

It's been long. Please update the package

@benjamindean
Copy link
Owner

benjamindean commented Jul 26, 2022

@Plantake Could you, please, clarify? You mean the vibration API?

@tanmanh0707
Copy link

tanmanh0707 commented Nov 24, 2023

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.

@nyakokitsu
Copy link

@benjamindean

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.

@uemirhanselim
Copy link

I have the same error, fix it please.

@Aljnk
Copy link

Aljnk commented Aug 2, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants