Search code examples
androidandroid-manifestmerged-manifest

Manifest merger failed, While no error in merged manifest


My android Studio is displaying titled error, but while i am checking out my merged manifest, No error there. Below are SS of my merged manifest and manifest files. targetSdkVersion 34

Merged Manifest

enter image description here

Manifest

enter image description here


Solution

  • In my case, when i update junit dependencies, Merge manifest error wash out.

    Here is old versions :

    testImplementation 'junit:junit:4.13'
    androidTestImplementation 'androidx.test.ext:junit:1.1.2'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
    

    Updated Versions are here :

    testImplementation 'junit:junit:4.13.2'
    androidTestImplementation 'androidx.test.ext:junit:1.1.5'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'