在library中使用okhttp或greenDao,依赖library的app模块报错:cannot access okhttp3.call.

问题描述: 在公共library模块中引用okhttpweb implementation 'com.squareup.okhttp3:okhttp:3.12.1' 再在app模块中依赖library,此时app使用okhttp会报错:cannot access okhttp3.call api 解决方法: 使用api替换implementation。(Use api instead of imp
相关文章
相关标签/搜索