In case any one else has this problem and none of the mentioned answers solved your issue you can add this line to your AndroidManifest.xml file in the application tag:
tools:replace="android:icon
You also need the tool namespace in you manifest tag
xmlns:tools="http://schemas.android.com/tools"
So it would look like this:
<manifestxmlns:android=" xmlns:tools="http://schemas.android.com/tools" package="com.example.sqlite"> <application android:allowBackup="true" android:label="@string/app_name" android:theme="@style/AppTheme" tools:replace="android:icon" android:icon="@mipmap/ic_launcher" android:name="com.orm.SugarApp">
I have thecom.github.satyan:sugar:1.3dependency as well,I believe that library is importing another icon in its own manifest,thus causing the conflict.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。