Caused by: java.lang.IllegalStateException: Expected Android API level 21+ but was 30 at okhttp3.internal.platform.AndroidPlatform.buildIfSupported(AndroidPlatform.java:238) at okhttp3.internal.platform.Platform.findPlatform(Platform.java:202) at okhttp3.internal.platform.Platform.<clinit>(Platform.java:79) at okhttp3.internal.platform.Platform.get(Platform.java:85) at okhttp3.OkHttpClient.newSslSocketFactory(OkHttpClient.java:263) at okhttp3.OkHttpClient.<init>(OkHttpClient.java:229) at okhttp3.OkHttpClient$Builder.build(OkHttpClient.java:1015) at com.zhouyou.http.EasyHttp.getOkHttpClient(EasyHttp.java:150) at com.zhouyou.http.request.BaseRequest.generateOkClient(BaseRequest.java:400) at com.zhouyou.http.request.BaseRequest.build(BaseRequest.java:535) at com.zhouyou.http.request.PostRequest.execute(PostRequest.java:83) at com.zhouyou.http.request.PostRequest.execute(PostRequest.java:78)
Caused by: java.lang.IllegalStateException: Expected Android API level 21+ but was 30 at okhttp3.internal.platform.AndroidPlatform.buildIfSupported(AndroidPlatform.java:238) at okhttp3.internal.platform.Platform.findPlatform(Platform.java:202) at okhttp3.internal.platform.Platform.<clinit>(Platform.java:79) at okhttp3.internal.platform.Platform.get(Platform.java:85) at okhttp3.OkHttpClient.newSslSocketFactory(OkHttpClient.java:263) at okhttp3.OkHttpClient.<init>(OkHttpClient.java:229) at okhttp3.OkHttpClient$Builder.build(OkHttpClient.java:1015) at com.zhouyou.http.EasyHttp.getOkHttpClient(EasyHttp.java:150) at com.zhouyou.http.request.BaseRequest.generateOkClient(BaseRequest.java:400) at com.zhouyou.http.request.BaseRequest.build(BaseRequest.java:535) at com.zhouyou.http.request.PostRequest.execute(PostRequest.java:83) at com.zhouyou.http.request.PostRequest.execute(PostRequest.java:78)