Skip to content

Commit 32e15a1

Browse files
authored
Update get-started-android-calling-chat-sdk.md
1 parent 61b856e commit 32e15a1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/communication-services/quickstarts/voice-video-calling/get-started-android-calling-chat-sdk.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,22 @@ This tutorial describes how Contoso can integrate both Calling and Chat SDK in a
1414

1515
## Current limitation
1616

17-
With Android Calling SDK versions below `2.11.0`, building an Android application with both the Calling and Chat SDK's resulted in the following errors:
17+
With Android Calling SDK versions earlier than `2.11.0`, building an Android application with both the Calling and Chat SDK's resulted in the following errors:
1818

1919
```
2020
Duplicate class com.skype.rt.XXX found in modules jetified-azure-communication-calling-1.2.0-runtime (com.azure.android:azure-communication-calling:1.2.0) and jetified-trouter-client-android-0.1.1-runtime (com.microsoft:trouter-client-android:0.1.1)
2121
2222
2 files found with path 'lib/x86/libc++_shared.so' from inputs: - …\.gradle\...-azure-communication-calling-1.2.0\jni\x86\libc++_shared.so - …\.gradle\...-trouter-client-android-9.1.1\jni\x86\libc++_shared.so
2323
```
2424

25-
This issue was caused by conflicting `.jar` and `.so` files included in the Calling SDK package `com.azure.android:azure-communication-calling` and a transitive dependency package that the Chat SDK package `com.azure.android:azure-communication-chat` imports, `com.microsoft:trouter-client-android`.
25+
This issue was caused because of the conflicting `.jar` and `.so` files included in the Calling SDK package `com.azure.android:azure-communication-calling` and a transitive dependency package that the Chat SDK package `com.azure.android:azure-communication-chat` imports, `com.microsoft:trouter-client-android`.
2626

2727
## Solution
28-
Starting from Android Calling SDK version `2.11.0`, support has been added for Contoso to run both the Calling and Chat SDK's in the same Android application. This was achieved by making the Calling SDK depend on `com.microsoft:trouter-client-android`, similar to how the Chat SDK depends on the Trouter package, and removing the conflicting `.jar` and `.so` files included in the Calling SDK.
28+
From Android Calling SDK version 2.11.0 onwards, Contoso can integrate both the Calling and Chat SDKs within the same Android application. This was accomplished by making the Calling SDK rely on com.microsoft:trouter-client-android, similar to the Chat SDK’s dependency on the Trouter package, and eliminating the conflicting .jar and .so files previously included in the Calling SDK.
2929

3030
## Implementation steps
3131

32-
Specify the version of the Android Calling and Chat SDK in your application's Gradle build file as shown in the example below:
32+
Specify the version of the Android Calling and Chat SDK in your application's Gradle build file as shown in the example:
3333

3434
```gradle
3535
implementation ('com.azure.android:azure-communication-calling:2.11.0')
@@ -38,7 +38,7 @@ Specify the version of the Android Calling and Chat SDK in your application's Gr
3838
}
3939
```
4040

41-
The version of `com.azure.android:azure-communication-chat` can be any version, the latest release version is used here as an example. However, the version of the Trouter package `com.microsoft:trouter-client-android` included with the Chat SDK `com.azure.android:azure-communication-chat` needs to be excluded. When the application is built, the Trouter package version included by the Calling SDK package `com.azure.android:azure-communication-calling` will be used.
41+
The version of `com.azure.android:azure-communication-chat` can be any version. The latest release version is used here as an example. However, the version of the Trouter package `com.microsoft:trouter-client-android` included with the Chat SDK `com.azure.android:azure-communication-chat` needs to be excluded. When the application is built, the Trouter package version included by the Calling SDK package `com.azure.android:azure-communication-calling` will be used.
4242

4343
## Next steps
4444
Quickstart sample is available in GitHub [Android QuickStarts](https://github.com/Azure-Samples/communication-services-android-quickstarts.git) under `Add-Chat-Calling` folder and follow the `README.md` on instructions how to run the sample.

0 commit comments

Comments
 (0)