java.lang.NoClassDefFoundError: Failed resolution of: Lokhttp3/internal/Platform

使用OKHttp3做爲網絡訪問的框架時,可能要常常查看日誌,這時咱們能夠引入logging-interceptor攔截器。以下:web compile 'com.squareup.okhttp3:logging-interceptor:3.8.1' 可是,若是出現如題目中的錯誤,那緣由應該就是logging-interceptor的版本和OkHttp3的版本不同,保持同樣就能夠了。bash com
相關文章
相關標籤/搜索