diff --git a/README.md b/README.md index 4392831b7a48d9892aacbea4cd44f1d713fdc251..811052e901f8f6582d48686832aa0270e8f8829b 100644 --- a/README.md +++ b/README.md @@ -230,6 +230,13 @@ app/build/outputs/apk/arm64/release/*.apk https://gitee.com/HuaweiCloudDeveloper/huaweicloud-cloudPhoneAccess-android/releases ``` +#### 3.5 AAR引入注意事项 + +```shell +## 为保证连接安全性,SDK中引入org.bouncycastle:bcprov-jdk15to18三方库,需要在使用AAR时添加依赖。 +implementation 'org.bouncycastle:bcprov-jdk15to18:1.71' +``` + ### 4. 功能接口 #### 4.1 创建实例 diff --git a/app/build.gradle b/app/build.gradle index a6546c9b18c4788c767ca00754177a49017f1e4c..4c0274f37b7bb29e40e9acb97e7c86ef480da40d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -78,6 +78,7 @@ dependencies { implementation 'com.android.support:design:28.0.0' implementation 'com.github.shem8:material-login:2.1.1' implementation 'com.github.Justson.AgentWeb:agentweb-core:v5.0.6-androidx' + implementation 'org.bouncycastle:bcprov-jdk15to18:1.71' implementation group: 'com.squareup.okhttp3', name: 'okhttp', version: '4.10.0' implementation project(':cloudphone') } diff --git a/cloudphone/build.gradle b/cloudphone/build.gradle index f88ee9d63367e9bad8a8b75e653f7cb0935f6cda..e2811fc7e4efa9ff16834fe5f38036b16ca1891b 100644 --- a/cloudphone/build.gradle +++ b/cloudphone/build.gradle @@ -94,7 +94,6 @@ android { dependencies { implementation fileTree(dir: "libs", include: ["*.jar"]) implementation 'androidx.appcompat:appcompat:1.3.0' - implementation 'com.google.code.gson:gson:2.9.1' implementation 'org.bouncycastle:bcprov-jdk15to18:1.71' }