我在我的Android应用程序中集成了payumoney。我已阅读文档并查看视频集成,即< https://www.youtube.com/watch?v=gnQ0IF3XniM&t=740s>。问题是,当我尝试导入模块依赖项时,它给出了错误,即清单合并失败并出现多个错误。
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.
答案 0 :(得分:1)
终于做到了。非常愚蠢的错误。我在两个模块中都使用了不同的启动器图标和应用程序主题。