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
- 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
CodePudding user response:
replace this line
android:name=".MainActivity"
with
android:name="io.flutter.embedding.android.FlutterFragmentActivity"