I am integrating payUMoney payment gateway with my android application but after integrating following error show in my Logcat
Logcat
Error:Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed : Attribute application#label value=(Buy Wid US) from AndroidManifest.xml:13:9-35
is also present at [PayBaniyyaIntegrate:payUMoneysdk:unspecified] AndroidManifest.xml:19:9-41 value=(#string/app_name)
Suggestion: add 'tools:replace="android:label"' to <application> element at AndroidManifest.xml:8:5-30:19 to override
after that I follow this link answer number 2
Manifest merger failed error
Error:(2) Resource entry activity_horizontal_margin is already defined.
Related
I'm currently finishing the build of my app but I got an error where the mesagge says failed processing manifest, searching for more, I found the next error messages:
Android resource linking failed
C:\AndroidStudioProjects\LogisticaAB\app\build\intermediates\bundle_manifest\release\AndroidManifest.xml:18: error: resource mipmap/ic_launcher_ab (aka com.altba.logisticaab:mipmap/ic_launcher_ab) not found.
C:\AndroidStudioProjects\LogisticaAB\app\build\intermediates\bundle_manifest\release\AndroidManifest.xml:18: error: resource mipmap/ic_launcher_ab_round (aka com.altba.logisticaab:mipmap/ic_launcher_ab_round) not found.
error: failed processing manifest.
But the archives for the icons are in their place, and while testing the app it works well. What can I do to resolve this?
My app was working just fine but when I tried to added AnyChart library to my project I got this error :
Execution failed for task ':app:processDebugMainManifest'.
> Manifest merger failed : Attribute application#label value=(App_GLPI) from AndroidManifest.xml:10:9-33
is also present at [com.github.AnyChart:AnyChart-Android:1.1.2] AndroidManifest.xml:13:9-41 value=(#string/app_name).
Suggestion: add 'tools:replace="android:label"' to <application> element at AndroidManifest.xml:7:5-84:19 to override.
Please anyone help me to solve this problem.
Thanks
After trying many solution on web I didn't find solution to this problem.
> Task :app:mergeDebugResources FAILED
Execution failed for task ':app:mergeDebugResources'.
> A failure occurred while executing
com.android.build.gradle.internal.res.ResourceCompilerRunnable
> Resource compilation failed. Check logs for details.
ParseError at [row,col]:[13,192]
Message: Attribute "xmlns:android" was already specified for element "LinearLayout".
My xml Linearlayout is not having "xmlns:android" attributes. Still it keep asking for the same.
Thanks in advance!
"xmlns:android" You have this line added twice in your code in LinearLayout. Also, Try Invalidate & Cache Restart and then run the code.
I am integrating payumoney in my android application. I have read docs and see video for integration i.e < https://www.youtube.com/watch?v=gnQ0IF3XniM&t=740s >. Problem is when i am trying to import module dependency it gives me error that manifest merger failed with multiple error.
C:\Users\amit\Desktop\New folder (3)\SalwarTales-master\app\src\main\AndroidManifest.xml:22:9-38 Error:
Attribute application#icon value=(#drawable/logo) from AndroidManifest.xml:22:9-38
is also present at [:sdkui] AndroidManifest.xml:20:9-43 value=(#mipmap/ic_launcher).
Suggestion: add 'tools:replace="android:icon"' to <application> element at AndroidManifest.xml:20:5-72:19 to override.
C:\Users\amit\Desktop\New folder (3)\SalwarTales-master\app\src\main\AndroidManifest.xml:26:9-43 Error:
Attribute application#theme value=(#style/NoActionBar) from AndroidManifest.xml:26:9-43
is also present at [:sdkui] AndroidManifest.xml:22:9-40 value=(#style/AppTheme).
Suggestion: add 'tools:replace="android:theme"' to <application> element at AndroidManifest.xml:20:5-72:19 to override.
finally did it. very silly mistake. I was using Different launcher icon and app theme in both modules.
Anyone has idea about this Error genre,
Error:Execution failed for task ':app:processDebugManifest'. Manifest
merger failed : Attribute
meta-data#com.google.android.gms.version#value
value=(#integer/google_play_services_version) from
AndroidManifest.xml:18:13-66 is also present at
[io.nlopez.smartlocation:library:3.0.11] AndroidManifest.xml:31:13-36
value=(6587000) Suggestion: add 'tools:replace="android:value"' to
element at AndroidManifest.xml:16:9-18:69 to override
in your manifest under application tag add tools replace tag, Like this application
android:icon="#drawable/icon"
android:label="#string/app_name"
tools:replace="android:value"
Then try to compile and run...