From bca03b5f891af5966a06b1ecd00f6cd573659ce6 Mon Sep 17 00:00:00 2001 From: panlili2024 <14743743+panlili2024@user.noreply.gitee.com> Date: 星期四, 27 二月 2025 14:34:21 +0800 Subject: [PATCH] 兼容安卓14 --- HDLLinphoneSDKDemoNew/HDLLinphoneSDK/build.gradle | 33 ++++++++++++++++++++++++--------- 1 files changed, 24 insertions(+), 9 deletions(-) diff --git a/HDLLinphoneSDKDemoNew/HDLLinphoneSDK/build.gradle b/HDLLinphoneSDKDemoNew/HDLLinphoneSDK/build.gradle index 86cfb30..65e19a6 100644 --- a/HDLLinphoneSDKDemoNew/HDLLinphoneSDK/build.gradle +++ b/HDLLinphoneSDKDemoNew/HDLLinphoneSDK/build.gradle @@ -4,14 +4,18 @@ apply plugin: 'com.kezong.fat-aar' android { - compileSdkVersion 28 - buildToolsVersion "28.0.0" + compileSdkVersion 33 + //buildToolsVersion "28.0.0" defaultConfig { minSdkVersion 23 - targetSdkVersion 28 - versionCode 1 - versionName "1.0.3" + targetSdkVersion 34 + versionCode 6 + versionName "1.0.8" + + ndk { + abiFilters 'arm64-v8a' + } // consumerProguardFiles "consumer-rules.pro" } @@ -42,8 +46,19 @@ } repositories { - google() + /*google() jcenter() + maven { + // Replace snapshots by releases for releases ! + url "https://linphone.org/maven_repository" + }*/ + google() + mavenCentral() + maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' } + maven { url = uri("https://plugins.gradle.org/m2/") } + maven { + url "https://jitpack.io" + } maven { // Replace snapshots by releases for releases ! url "https://linphone.org/maven_repository" @@ -51,14 +66,14 @@ } dependencies { -// implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar']) implementation 'com.android.support:appcompat-v7:28.0.0' implementation 'com.android.support.constraint:constraint-layout:2.0.4' // implementation "org.linphone:linphone-sdk-android:4.5.0" embed "org.linphone:linphone-sdk-android:4.5.0" implementation 'com.google.code.gson:gson:2.9.0' -// implementation 'com.android.support.constraint:constraint-layout:2.0.4' - embed 'com.tencent.tinker:tinker-patch-gradle-plugin:1.9.1' embed 'com.tencent.tinker:tinker-android-lib:1.9.1' + //娣诲姞StatusBarUtil鐨勪緷璧� + implementation 'com.jaeger.statusbarutil:library:1.5.1' + } \ No newline at end of file -- Gitblit v1.8.0