This commit is contained in:
gedoor 2021-10-20 11:09:38 +08:00
parent cc4dc1c99c
commit 8919180b1c

View File

@ -38,8 +38,6 @@ val cronetEngine: ExperimentalCronetEngine? by lazy {
try {
val engine = builder.build()
Timber.d("Cronet Version:" + engine.versionString)
//这会导致Jsoup的网络请求出现问题暂时不接管系统URL
//URL.setURLStreamHandlerFactory(CronetURLStreamHandlerFactory(engine))
return@lazy engine
} catch (e: Exception) {
Timber.e(e, "初始化cronetEngine出错")