在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
相關文章
相關標籤/搜索