Open MasIzzudin opened 2 years ago
I have the same problem
The plugin flutter_bluetooth_basic
uses a deprecated version of the Android
embedding.
To avoid unexpected runtime failures, or future build failures, try to see if
this plugin supports the Android V2 embedding. Otherwise, consider removing it
since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to
the V2 embedding: https://flutter.dev/go/android-plugin-migration.
flutter doctor -v [✓] Flutter (Channel stable, 2.5.1, on macOS 11.4 20F71 darwin-x64, locale fr-TN) • Flutter version 2.5.1 at /users/tts/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision ffb2ecea52 (7 days ago), 2021-09-17 15:26:33 -0400 • Engine revision b3af521a05 • Dart version 2.14.2
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3) • Android SDK at /Users/tts/Library/Android/sdk • Platform android-30, build-tools 30.0.3 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264) • All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 12.5, Build version 12E262 • CocoaPods version 1.11.2
[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.2) • Android Studio at /Applications/Android Studio.app/Contents • 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 11.0.8+10-b944.6916264)
[✓] VS Code (version 1.60.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.26.0
[✓] VS Code (version 1.57.0) • VS Code at /Users/tts/Downloads/Visual Studio Code.app/Contents • Flutter extension version 3.26.0
[✓] Connected device (2 available) • SM T515 (mobile) • R52N40NMXCP • android-arm • Android 11 (API 30) • Chrome (web) • chrome • web-javascript • Google Chrome 94.0.4606.61
• No issues found!
Same here. Might be preventing my phone from properly discovering my bluetooth printer...
@andrey-ushakov I am having the same issue too.
Hi, whether it is planned to merge https://github.com/andrey-ushakov/flutter_bluetooth_basic/pull/25 PR?