Error:Execution failed for task ':processDebugManifest'. > Manifest merger failed with multiple erro

来源:互联网 发布:苹果mac os x系统下载 编辑:程序博客网 时间:2024/05/17 08:24


总结:build工程时,message里有报错提示,但看不明白什么意思。可以到gradle console窗口里看详细信息。


/home/wangpan/workspaceeclipsenew/AndroidBaseDemo/AndroidManifest.xml:19:9-45 Error:

Attribute application@icon value=(@drawable/ic_launcher) from AndroidManifest.xml:19:9-45
is also present at [:infostream:] AndroidManifest.xml:19:9-43 value=(@mipmap/ic_launcher).
Suggestion: add 'tools:replace="android:icon"' to <application> element at AndroidManifest.xml:16:5-88:19 to override.
/home/wangpan/workspaceeclipsenew/AndroidBaseDemo/AndroidManifest.xml:17:9-38 Error:
Attribute application@name value=(com.example.androidbasedemo.MyApplication) from AndroidManifest.xml:17:9-38
is also present at [:infostream:] AndroidManifest.xml:17:9-70 value=(con.gionee.infostreamsdk.InfoStreamApplication).
Suggestion: add 'tools:replace="android:name"' to <application> element at AndroidManifest.xml:16:5-88:19 to override.
/home/wangpan/workspaceeclipsenew/AndroidBaseDemo/AndroidManifest.xml:7:5-9:41 Error:
uses-sdk:minSdkVersion 11 cannot be smaller than version 14 declared in library [:infostream:] /home/wangpan/.android/build-cache/4045d1a5634807b8870b7ab8a34e003a844fcadd/output/AndroidManifest.xml
Suggestion: use tools:overrideLibrary="con.gionee.infostreamsdk" to force usage




See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.


:processDebugManifest FAILED


FAILURE: Build failed with an exception.


* What went wrong:
Execution failed for task ':processDebugManifest'.
> Manifest merger failed with multiple errors, see logs
阅读全文
0 0
原创粉丝点击