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

后端 未结 11 1728
甜味超标
甜味超标 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 02:03

    Use version 3.11.0 for api level below 21

     implementation 'com.squareup.okhttp3:okhttp:3.11.0'
     implementation 'com.squareup.okhttp3:logging-interceptor:3.11.0'
    

提交回复
热议问题