question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to resolve: moe.banana:moshi-jsonapi:3.2.1

See original GitHub issue

It’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:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
chiponncommented, Mar 29, 2017

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

0reactions
kamikatcommented, Mar 29, 2017

The package is now added back to jcenter. https://jcenter.bintray.com/moe/banana/moshi-jsonapi/

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found