无法将库添加到android studio项目

问题描述 投票:0回答:1

我想将Github库添加到我在android studio中的项目中,我尝试了7次以上。每次我遇到问题的时候。我不知道我能做什么请帮助我

enter image description here

这是图书馆。

android android-studio
1个回答
1
投票

您正在使用的库在其清单中使用

android:icon
的值,您也是如此。由于编译器不知道要使用哪个图标,因此会抛出此错误。因此,在您的清单中,添加
tools:replace="android:icon"
来覆盖库的清单,如下所示:

<Application
    tools:replace="android:icon"
    ... >

    // Other elements here
</Application>
© www.soinside.com 2019 - 2024. All rights reserved.