nguyenhoanglam / ProgressLayout

An extension of RelativeLayout that helps show loading, empty and error layout.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AndroidManifest配置出错

tsunhua opened this issue · comments

Error:Execution failed for task ':app:processDebugManifest'.

Manifest merger failed : Attribute application@icon value=(@drawable/ic_launcher) from AndroidManifest.xml:15:9-46
is also present at [com.github.nguyenhoanglam:ProgressLayout:1.0.1] AndroidManifest.xml:13:9-43 value=(@mipmap/ic_launcher).
Suggestion: add 'tools:replace="android:icon"' to element at AndroidManifest.xml:11:5-57:19 to override.

已经通过配置解决,不过不明白为什么指向该库?

    <application
        xmlns:tools="http://schemas.android.com/tools"
        android:name=".app.MyApplication"
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:supportsRtl="true"
        android:theme="@style/appTheme"
        tools:replace="android:theme,android:icon">
......