Android Studio using okhttp error, display an error message: unable to access ByteString, find okio.
Actually run before download when it is possible, and suddenly run yesterday is washed-up, pop up the error, can't think of is what reason, so here I ask you,
CodePudding user response:
refer to the original poster Simon reply: actually run before download when it is possible, and suddenly run not yesterday, pop up the error, can't think of is what reason, so here I ask you, Figure is a little unclear, display the error message is: can't access ByteString, find okio. ByteString class file, and then points to the wrong post method of RequestBody object, CodePudding user response:
Brother, can you solve it, I encountered similar problems Don't have access to the Callback Can't find okhttp3. The Callback class files CodePudding user response:
The library is deleted, to drag from the InternetMore often than not, build when there is something wrong with the And then remember the code,,,, CodePudding user response:
You can directly on the website to download okhttp3 resource bundles, imported into the project, and again in the attachment to all kinds of warehouse to cache down with, because, Gradle will have this kind of mistake... CodePudding user response:
refer to the second floor rising_chain response: yes, can you solve it, I encountered similar problems Don't have access to the Callback Can't find okhttp3. The Callback class files You can download it directly on the website up okhttp3 source package to import into the project CodePudding user response:
My side is the cache problem, the build directory deleted, it is ok to build again