Fix cronet library

This commit is contained in:
FongMi 2023-01-05 13:52:58 +08:00
parent 36fb896500
commit d4a9147a32
1 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ android {
applicationId "com.github.catvod.demo" applicationId "com.github.catvod.demo"
minSdk 17 minSdk 17
targetSdk 29 targetSdk 29
ndk { abiFilters "armeabi-v7a" }
} }
buildTypes { buildTypes {
@ -33,7 +34,7 @@ android {
dependencies { dependencies {
//Debug For HTTP/3 //Debug For HTTP/3
//implementation 'com.google.android.gms:play-services-cronet:18.0.1' //implementation 'org.chromium.net:cronet-embedded:101.4951.41'
implementation 'com.google.net.cronet:cronet-okhttp:0.1.0' implementation 'com.google.net.cronet:cronet-okhttp:0.1.0'
implementation 'androidx.annotation:annotation:1.5.0' implementation 'androidx.annotation:annotation:1.5.0'
implementation 'com.squareup.okhttp3:okhttp:3.12.13' implementation 'com.squareup.okhttp3:okhttp:3.12.13'