class file for okhttp3.OkHttpClient not found
See original GitHub issueGradle 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:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top 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 >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
@AbandonedCart Thanks! I’ll make a note of that with the team as well.
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.