Open aadishsamir123 opened 1 year ago
Quick hack: create a new Flutter project, copy over what you need (code, assets, dependencies).
add this meta tag to androidmanifest inside app/src and remove the old meta tag
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
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. I use VSCode but I don't think it is related to the error.
Please someone help me to fix this.