benjamindean / flutter_vibration

Handle vibration on iOS and Android in Flutter apps
228 stars 69 forks source link

VibrationPlugin.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. #106

Open ketanambekar1 opened 1 month ago

ketanambekar1 commented 1 month ago

Local\Pub\Cache\hosted\pub.dev\vibration-2.0.0\android\src\main\java\com\benjaminabel\vibration\VibrationPlugin.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.

Getting this error during the build.

benouarAbdou commented 10 hours ago

i'm having the same issue , any fix?

benjamindean commented 10 hours ago

@benouarAbdou @ketanambekar1 Hey! Does it actually prevents you from building an app or is it just a warning? It should still allow building the app normally.

benouarAbdou commented 9 hours ago

i dont know what i changed but now i'm stuck on this error

Execution failed for task ':device_info_plus:compileDebugJavaWithJavac'.
> error: invalid source release: 17

i'm sure it's not related to Vibration package