Failed to resolve: moe.banana:moshi-jsonapi:3.2.1
See original GitHub issueIt’s really weird that I can easily add moshi or retrofit, but I cannot add this dependency.
My app/build.gradle looks like:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:25.2.0'
compile 'com.android.support:support-v4:25.2.0'
compile 'com.android.support:design:25.2.0'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.squareup.retrofit2:retrofit:2.2.0'
compile 'com.squareup.moshi:moshi:1.4.0'
compile 'moe.banana:moshi-jsonapi:3.2.1'
testCompile 'junit:junit:4.12'
}
and also have
allprojects {
repositories {
jcenter()
}
}
The error I received is:
Error:(31, 13) Failed to resolve: moe.banana:moshi-jsonapi:3.2.1
<a href="openFile:/....../app/build.gradle">Show in File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>
I tried 3.2.0 version, it’s same error.
I also looked up https://bintray.com/kamikat/maven/moshi-jsonapi, it seems the dependencies declaration is correct.
I am trying to find more gradle error log, but I haven’t managed to do that yet. Any hint for where to debug will be appreciated.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi,
We have reviewed and resolved the issue you experienced. The root cause for this was a sync issue on our end.
We hope that this addresses your enquiry.
Best Regards, Yonatan Brand JFrog Support
The package is now added back to jcenter. https://jcenter.bintray.com/moe/banana/moshi-jsonapi/