How to fix Expected Android API level 21+ but was 19 in Android

后端 未结 11 1762
甜味超标
甜味超标 2020-12-10 01:06

In my application i want get data from server, for get connect to server i used Retrofit, OkHttp.
But when running application, show me

11条回答
  •  旧巷少年郎
    2020-12-10 01:50

    Android 4.4 (works for me)

    def ok_http_version = "3.11.0"
    implementation "com.squareup.okhttp3:okhttp:$ok_http_version"
    implementation "com.squareup.okhttp3:logging-interceptor:$ok_http_version"
    

提交回复
热议问题