From d4a9147a32367cefd3844b0dce569f7a083937ad Mon Sep 17 00:00:00 2001 From: FongMi Date: Thu, 5 Jan 2023 13:52:58 +0800 Subject: [PATCH] Fix cronet library --- app/build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index c6d57eb6..7f312713 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -10,6 +10,7 @@ android { applicationId "com.github.catvod.demo" minSdk 17 targetSdk 29 + ndk { abiFilters "armeabi-v7a" } } buildTypes { @@ -33,7 +34,7 @@ android { dependencies { //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 'androidx.annotation:annotation:1.5.0' implementation 'com.squareup.okhttp3:okhttp:3.12.13'