开发环境:
eclipse Build id: 20100218-1602
jdk 1.6
编译出错的关键代码
okhttp3.RequestBody body = okhttp3.RequestBody.create(contentType, param);
提示: The type okio.ByteString cannot be resolved. It is indirectly referenced from required .class files
解决:
引入 okio-1.14.0.jar (注意版本,作者已经引入了 okhttp-3.10.0.jar)