okHttp3 3.13.1 java.lang.BootstrapMethodError: Exception from call site #0 bootstrap method

解决办法如下:

1. 低版本AS

gradle module 中加入

android { 

 compileOptions { 

 targetCompatibility = "8" 

 sourceCompatibility = "8" }

}

2. 新版本AS

(1)步骤1

(2)refactor->Migtater to AndroidX


你可能感兴趣的:(okHttp3 3.13.1 java.lang.BootstrapMethodError: Exception from call site #0 bootstrap method)