@
anxiousPumpkin 打包的库引用了 Retrofit,集成进去之后调用会报错,因为 retrofit 依赖 okhttp 的,所以会报上述错误,请问下有解决方案吗
java.lang.NoClassDefFoundError: Failed resolution of: Lokhttp3/HttpUrl;
at retrofit2.Retrofit$Builder.baseUrl(Retrofit.java:506)
at com.zh.pocket.base.http.impl.RetrofitCallFactory.<init>(RetrofitCallFactory.java:20)
at com.zh.pocket.base.http.impl.ApiFactory.<init>(ApiFactory.java:23)
at com.zh.pocket.base.http.impl.ApiFactory.<clinit>(ApiFactory.java:16)
at com.zh.pocket.base.http.impl.ApiFactory.create(ApiFactory.java:41)