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

Uses a deprecated version of the Android embedding #28

Open
janezmejias opened this issue Oct 5, 2021 · 4 comments
Open

Uses a deprecated version of the Android embedding #28

janezmejias opened this issue Oct 5, 2021 · 4 comments

Comments

@janezmejias
Copy link

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:

@pram507
Copy link

pram507 commented Oct 6, 2021

happened to me too, happened after flutter 2.5.2 upgrade I think.

❯ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.5.2, on macOS 11.6 20G165 darwin-arm, locale en-ID)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] VS Code (version 1.60.2)
[✓] Connected device (2 available)

@gbloggs
Copy link

gbloggs commented Oct 19, 2021

The OP seems to have missed off the URL shown in the error: Here it is.

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.

Just for completeness, unsurprisingly the issue is in 2.5.3 too:

Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.5.3, on Microsoft Windows [Version 10.0.19043.1288], locale en-GB)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[√] Chrome - develop for the web
[√] Android Studio (version 2020.3)
[√] Android Studio
[√] Connected device (3 available)

• No issues found!

@chukiatt
Copy link

chukiatt commented Nov 4, 2021

me too

@5Gears0Chill
Copy link

me as well

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

5 participants