feat: Android 4.2 兼容改造
- minSdk 19 -> 17(config.gradle) - OkHttp 4.12 -> 3.12.0(app build.gradle 新老双栈统一锁定) - Retrofit 2.11 -> 2.6.0 + Coroutines 1.8.1 -> 1.6.4 - SignRequestPolicy: toHttpUrlOrNull -> HttpUrl.parse(3.12 API 适配) - HeaderInterceptor/SignAuthenticator: 属性访问改方法调用(url()/request()/priorResponse()) - VideoViewTv: SDK_INT<19 强制切 AndroidMediaPlayer 内核 + instanceof 短路保护 - AndroidManifest: overrideLibrary OAID 4.1.3(minSdk 19) - 全局 resolutionStrategy.force 锁定 OkHttp/Retrofit 版本
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
ext {
|
||||
app_android = [
|
||||
compileSdkVersion: 34,
|
||||
minSdkVersion : 19,
|
||||
minSdkVersion : 17, // Android 4.2 兼容(探测编译,待验证)
|
||||
targetSdkVersion : 29,
|
||||
multiDexEnabled : true
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user