You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/voice-video-calling/get-started-android-calling-chat-sdk.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,22 +14,22 @@ This tutorial describes how Contoso can integrate both Calling and Chat SDK in a
14
14
15
15
## Current limitation
16
16
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:
18
18
19
19
```
20
20
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)
21
21
22
22
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
23
23
```
24
24
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`.
26
26
27
27
## 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.
29
29
30
30
## Implementation steps
31
31
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:
@@ -38,7 +38,7 @@ Specify the version of the Android Calling and Chat SDK in your application's Gr
38
38
}
39
39
```
40
40
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.
42
42
43
43
## Next steps
44
44
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