Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not resolve com.github.kittinunf.launcher_icon:launcher_icon-android:1.12.0. #336

Closed
SeppPenner opened this issue Apr 22, 2018 · 2 comments

Comments

@SeppPenner
Copy link

When I try to add the following lines to my build.gradle file:

   implementation 'com.github.kittinunf.launcher_icon:launcher_icon:1.12.0'
   implementation 'com.github.kittinunf.launcher_icon:launcher_icon-android:1.12.0'
   implementation 'com.github.kittinunf.launcher_icon:launcher_icon-livedata:1.12.0'
   implementation 'com.github.kittinunf.launcher_icon:launcher_icon-rxjava:1.12.0'
   implementation 'com.github.kittinunf.launcher_icon:launcher_icon-gson:1.12.0'
   implementation 'com.github.kittinunf.launcher_icon:launcher_icon-jackson:1.12.0'
   implementation 'com.github.kittinunf.launcher_icon:launcher_icon-moshi:1.12.0'

I get the following error:

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.github.kittinunf.launcher_icon:launcher_icon-android:1.12.0.

Could not resolve com.github.kittinunf.launcher_icon:launcher_icon-android:1.12.0.
Required by:
project :app

Could not resolve com.github.kittinunf.launcher_icon:launcher_icon-android:1.12.0.
> Could not get resource 'https://jitpack.io/com/github/kittinunf/launcher_icon/launcher_icon-android/1.12.0/launcher_icon-android-1.12.0.pom'.
> Could not GET 'https://jitpack.io/com/github/kittinunf/launcher_icon/launcher_icon-android/1.12.0/launcher_icon-android-1.12.0.pom'. Received status code 401 from server: Unauthorized

@kittinunf
Copy link
Owner

Hmm, what is launcher_icon?

@SeppPenner
Copy link
Author

I think I found the issue... I somehow copied the launcher_icon as string to all of the lines that originally were the following:

implementation 'com.github.kittinunf.fuel:fuel:1.12.0'
implementation 'com.github.kittinunf.fuel:fuel-android:1.12.0'
implementation 'com.github.kittinunf.fuel:fuel-livedata:1.12.0'
implementation 'com.github.kittinunf.fuel:fuel-rxjava:1.12.0'
implementation 'com.github.kittinunf.fuel:fuel-gson:1.12.0'
implementation 'com.github.kittinunf.fuel:fuel-jackson:1.12.0'
implementation 'com.github.kittinunf.fuel:fuel-moshi:1.12.0'

But don't ask me why. Can be an IDE error, too, maybe...

launcher_icon.png is a file I use to show on app startup. But nevermind, was a stupid copy-paste error...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants