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

Deprecated Android embedding version #311

Closed
ikurek opened this issue Feb 4, 2022 · 3 comments
Closed

Deprecated Android embedding version #311

ikurek opened this issue Feb 4, 2022 · 3 comments
Assignees
Labels
bug Something isn't working. It's clear that this does need to be fixed.

Comments

@ikurek
Copy link
Contributor

ikurek commented Feb 4, 2022

Project uses Flutter Android Embedding V1, which has been deprecated for a while, and with latest Flutter versions (after 2.8.1) an attempt to run example application will fail with this message:

{code}
This app is using a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to migrate this app to the V2 embedding.
Take a look at the docs for migrating an app: https://github.com/flutter/flutter/wiki/Upgrading-pre-1.12-Android-projects
The plugin device_info_plus requires your app to be migrated to the Android embedding v2. Follow the steps on https://flutter.dev/go/android-project-migration and re-run this command.
{code}
According to Flutter team a migration should be made to Android Embedding V2. As a temporary workaround, the example can be run by downgrading to older versions of Flutter engine

@ikurek ikurek self-assigned this Feb 4, 2022
@QuintinWillison
Copy link
Contributor

@ikurek I would perhaps go as far as to label this as a bug... for this repository, as a whole, the example apps are pretty essential. What do you think?

@ikurek
Copy link
Contributor Author

ikurek commented Feb 4, 2022

@QuintinWillison Seems reasonable, since this is actually breaking for end users. I'm already working on a fix.

@ikurek ikurek added the bug Something isn't working. It's clear that this does need to be fixed. label Feb 4, 2022
@QuintinWillison
Copy link
Contributor

Fixed by #312 as far as I can tell, @ikurek. It seems this issue wasn't linked to the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working. It's clear that this does need to be fixed.
Development

No branches or pull requests

2 participants