Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将 Github 库添加到我在 android studio 中的项目中,我尝试了超过 7 次。每次我有问题。我不知道我该怎么办 请帮帮我
这是图书馆。
您正在使用的库android:icon在其清单中使用值 for,您也是。由于编译器不知道要使用哪个图标,因此会引发此错误。因此,在您的清单中,添加tools:replace="android:icon"以覆盖库的清单,如下所示:
android:icon
tools:replace="android:icon"
<Application tools:replace="android:icon" ... > // Other elements here </Application>