在添加retrofit2 依賴 時報了如下錯誤
Unable to resolve dependency for ‘:[email protected]/compileClasspath’: Could not resolve com.squareup.retrofit2:retrofit:2.1.0.
後來在github 上查了一下如下
翻譯如下
修改依賴如下:
api ' com.squareup.retrofit2:retrofit:2.3.0'
即可