'A problem was found with the configuration of task ':app:processDebugManifest' in first project
[I just Installed Everything for flutter...and run the first default app...but this problem is showing] Like picture below:
FAILURE: Build failed with an exception.
- What went wrong: A problem was found with the configuration of task ':app:processDebugManifest' (type 'ProcessMultiApkApplicationManifest').
File 'E:\Program Future\Flutter\Flutter\anualproject\build\app\intermediates\merged_manifest\debug\out\AndroidManifest.xml' specified for property 'mainMergedManifest' does not exist.
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.
Get more help at https://help.gradle.org
BUILD FAILED in 8s Exception: Gradle task assembleDebug failed with exit code 1
Please help me !. I also find any solution in internet but don't result.
Solution 1:[1]
Just edit :
android/build.gradle 4.?.? -> 4.0.2
classpath 'com.android.tools.build:gradle:4.0.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
and :
android/gradle/wrapper/gradle-wrapper.properties 6.?.?-all -> 6.4.1-all
distributionUrl=https\://services.gradle.org/distributions/gradle-6.4.1-all.zip
Solution 2:[2]
FAILURE: Build failed with an exception.
A problem was found with the configuration of task ':app:processDebugManifest' (type 'ProcessMultiApkApplicationManifest').
File 'E:\task ajay\Flutter Apps\flutter_application_1\build\app\intermediates\merged_manifest\debug\out\AndroidManifest.xml' specified for property 'mainMergedManifest' does not exist.
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.
Get more help at https://help.gradle.org BUILD FAILED in 47s Running Gradle task 'assembleDebug'... 50.6s Exception: Gradle task assembleDebug failed with exit code 1
ans:- android/build.gradle 4.?.? -> 4.0.2
classpath 'com.android.tools.build:gradle:4.0.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
and :
android/gradle/wrapper/gradle-wrapper.properties 6.?.?-all -> 6.4.1-all
distributionUrl=https://services.gradle.org/distributions/gradle-6.4.1-all.zip
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Lars Kuerten |
Solution 2 | user18976217 |