trietho / flutter_beep

A very lite module to play system sounds and beep for flutter apps (no sound files)
BSD 3-Clause "New" or "Revised" License
17 stars 34 forks source link

FlutterBeepPlugin.java uses or overrides a deprecated API #7

Closed Aldo-f closed 3 years ago

Aldo-f commented 3 years ago

Having this error when trying to run the example.

Note: D:\Users\<ME>\Git\flutter\flutter_beep\android\src\main\java\com\gonoter\flutter_beep\FlutterBeepPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
flutter doctor -v ``` [√] Flutter (Channel stable, 2.0.0, on Microsoft Windows [Version 10.0.21337.1010], locale nl-NL) • Flutter version 2.0.0 at C:\tools\flutter • Framework revision 60bd88df91 (3 weeks ago), 2021-03-03 09:13:17 -0800 • Engine revision 40441def69 • Dart version 2.12.0 [√] Android toolchain - develop for Android devices (Android SDK version 30.0.2) • Android SDK at D:\Users\user1\AppData\Local\Android\Sdk • Platform android-30, build-tools 30.0.2 • ANDROID_SDK_ROOT = D:\Users\user1\AppData\Local\Android\Sdk • Java binary at: D:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01) • All Android licenses accepted. [√] Chrome - develop for the web • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe [√] Android Studio (version 4.1.0) • Android Studio at D:\Program Files\Android\Android Studio • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01) [√] VS Code, 64-bit edition (version 1.54.2) • VS Code at C:\Program Files\Microsoft VS Code • Flutter extension version 3.20.0 [√] Connected device (3 available) • SM G398FN (mobile) • R58N9067KQV • android-arm64 • Android 10 (API 29) • Chrome (web) • chrome • web-javascript • Google Chrome 89.0.4389.90 • Edge (web) • edge • web-javascript • Microsoft Edge 89.0.774.57 • No issues found! ```