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

Build failed due to deprecated Android V1 Embedding. #54

Open
aadishsamir123 opened this issue Mar 28, 2023 · 3 comments
Open

Build failed due to deprecated Android V1 Embedding. #54

aadishsamir123 opened this issue Mar 28, 2023 · 3 comments

Comments

@aadishsamir123
Copy link

Build failed due to use of deprecated Android v1 embedding.

Hello.
I am doing the dicee flutter project and whenever I build the stub project, I see this error saying "Build failed due to use of deprecated Android v1 embedding." I searched this up but it says to change some stuff in some AndroidManifest.xml and some build.gradle, but I don't know how I can do it. I can't continue with the project if this error is not fixed.
Screenshot 2023-03-28 at 8 43 36 AM
I use VSCode but I don't think it is related to the error.

Please someone help me to fix this.

@doc2dev
Copy link

doc2dev commented Apr 17, 2023

Quick hack: create a new Flutter project, copy over what you need (code, assets, dependencies).

@kazimayaan
Copy link

add this meta tag to androidmanifest inside app/src and remove the old meta tag

@tuweiwen
Copy link

remove attribute android:name="io.flutter.app.FlutterApplication" in application tag, and insert <meta-data android:name="flutterEmbedding" android:value="2"/> into your activity tag

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

4 participants