-1

I want to add Github library to my project in android studio , and I tried more than 7 time . Every time I have problem. I don't know what can I do Please help me

enter image description here

This is the library.

Oussema Aroua
  • 5,225
  • 1
  • 24
  • 44

1 Answers1

1

The library you are using is using a value for android:icon in its manifest, and so are you. Since the compiler doesn't know which icon to use, this error is thrown. So in your manifest, add tools:replace="android:icon" to override the library's manifest like so:

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

    // Other elements here
</Application>
Michael Dodd
  • 10,102
  • 12
  • 51
  • 64