skip to Main Content
[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 FutureFlutterFlutteranualprojectbuildappintermediatesmerged_manifestdebugoutAndroidManifest.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.

3

Answers


  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
    
    Login or Signup to reply.
  2. FAILURE: Build failed with an exception.

    A problem was found with the configuration of task ‘:app:processDebugManifest’ (type ‘ProcessMultiApkApplicationManifest’).

    File ‘E:task ajayFlutter Appsflutter_application_1buildappintermediatesmerged_manifestdebugoutAndroidManifest.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

    Login or Signup to reply.
  3. This problems doesnt occur if you save your project in the C drive. I dont know why this behaviour, but it works!

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search