DevSrSouza / compose-icons

Popular Open Source icon packs for Compose Multiplatform
MIT License
551 stars 25 forks source link

"Failed to resolve" error in Android Studio #10

Closed jagan999 closed 2 years ago

jagan999 commented 3 years ago

when I try to use this library in Android Studio Arctic fox, it gives me a "Failed to resolve" error during build. Any suggestions?

DevSrSouza commented 3 years ago

Hey @jagan999 , what version are you using? did you add mavenCentral to repositories?

jagan999 commented 3 years ago

Thanks for the response. I'm using 1.0.0 and do have mavenCentral in my repositories in build,gradle

MuhammedSheref commented 2 years ago

same issue here Failed to resolve: br.com.devsrsouza.compose.icons.android:ICON_PACK:1.0.0

Using Android Studio Arctic Fox | 2020.3.1 Patch 1

jagan999 commented 2 years ago

Any update on this issue, please? I am unable to use the benefits of this awesome collection of icons because of this resolving issue. Thanks in advance.

saulmaos commented 2 years ago

Same issue

saulmaos commented 2 years ago

I found the soulution, replace ICON_PACK with the pack you want. For example: font-awesome implementation "br.com.devsrsouza.compose.icons.android:font-awesome:1.0.0"

jagan999 commented 2 years ago

Thanks @saulmaos for the solution. Guess it was a silly mistake on my part not to replace the ICON_PACK with the specific pack I wanted. I somehow missed interpreting that part correctly.