Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

This problem appears when I start the application, what do I do?

C:\Users\lenovo\StudioProjects\TESTAH\android\app\src\main\AndroidManifest.xml:6:9-42 Error:
Attribute application@name at AndroidManifest.xml:6:9-42 requires a placeholder substitution but no value for is provided.
C:\Users\lenovo\StudioProjects\TESTAH\android\app\src\debug\AndroidManifest.xml Error:
Validation failed, exiting

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:app:processDebugMainManifest’.

Manifest merger failed with multiple errors, see logs

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

  • Try:
    Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more log output. Run with –scan to get full insights.

Contains the problem that appears when launching an application
enter image description here

This image contains the file AndroidManifest.xml
enter image description here

This image contains the file AndroidMainfest.xml
at android/app/src/debug
enter image description here

>Solution :

replace this line

   android:name=".MainActivity"

with

 android:name="io.flutter.embedding.android.FlutterFragmentActivity"
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading