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.

class file for okhttp3.OkHttpClient not found

See original GitHub issue

Gradle build error when creating DbxClientV2 (like in DropboxClientFactory):

Error:(13, 93) error: cannot access OkHttpClient
class file for okhttp3.OkHttpClient not found

I know this is solved by including OkHttp inside dependencies, but I just wanted to raise this issue because this is not clear from the Setup section on your README.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
greg-dbcommented, Oct 2, 2018

@AbandonedCart Thanks! I’ll make a note of that with the team as well.

0reactions
AbandonedCartcommented, Oct 2, 2018

You may want to update the samples, too. As of today (Oct 2, 2018), I landed here searching for a solution to the same issue when working with the sample code.

Read more comments on GitHub >

github_iconTop Results From Across the Web

android - not able to import com.squareup.okhttp.OkHttpClient
Gradle should have a line like this implementation 'com.squareup.okhttp3:okhttp:3.0.1'. and this is how you import it import okhttp3.OkHttpClient;.
Read more >
java: package okhttp3 does not exist
I'd love some education on what I'm doing wrong. Step 1: Create Project. File -> New -> Project -> Maven -> Project SDK:...
Read more >
okhttp not found, migrating to Android developer studio (gradle)
class file for okhttp3.OkHttpClient not found. C:\test\testproject\src\main\java\com\dropbox\core\examples\android\PicassoClient.java:19: ...
Read more >
unable to resolve class okhttp3.OkHttpClient
I want to use okhttp library in process during "Connectors in" "Script->Groovy 2.4", unfortunately I have errors during execution like:
Read more >
Using OkHttp | CodePath Android Cliffnotes
You will then wrap the OkHttpClient with this OkHttp3Downloader . ... as a singleton because changes in OkHttp3 no longer require a global...
Read more >

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