android studio安裝okhttp失敗

須要在moudle的build.gradle中的dependencies添加依賴android implementation 'com.squareup.okhttp3:okhttp:3.8.0' 而後在project的build.gradle中記得加上mavenCentral()app buildscript { repositories { mavenCentral()
相關文章
相關標籤/搜索