Cannot createAgent in sdk com.azure.android:azure-communication-calling:2.9.0

Hoang Nguyen 0 Reputation points
2024-06-26T07:33:21.5866667+00:00

Minimal steps to reproduce

Any log messages given by the failure

2024-06-24 17:52:22.061 27651-27675 System.err              com.contoso.acsquickstart            W  java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Unknown error.
2024-06-24 17:52:22.062 27651-27675 System.err              com.contoso.acsquickstart            W  	at java9.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:399)
2024-06-24 17:52:22.062 27651-27675 System.err              com.contoso.acsquickstart            W  	at java9.util.concurrent.CompletableFuture.get(CompletableFuture.java:2079)
2024-06-24 17:52:22.062 27651-27675 System.err              com.contoso.acsquickstart            W  	at com.azure.android.communication.calling.CallClient$5.get(CallClient.java:287)
2024-06-24 17:52:22.062 27651-27675 System.err              com.contoso.acsquickstart            W  	at com.azure.android.communication.calling.CallClient$5.get(CallClient.java:255)
2024-06-24 17:52:22.062 27651-27675 System.err              com.contoso.acsquickstart            W  	at java9.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1774)
2024-06-24 17:52:22.062 27651-27675 System.err              com.contoso.acsquickstart            W  	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
2024-06-24 17:52:22.062 27651-27675 System.err              com.contoso.acsquickstart            W  	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
2024-06-24 17:52:22.062 27651-27675 System.err              com.contoso.acsquickstart            W  	at java.lang.Thread.run(Thread.java:920)
2024-06-24 17:52:22.063 27651-27675 System.err              com.contoso.acsquickstart            W  Caused by: java.lang.IllegalArgumentException: Unknown error.
2024-06-24 17:52:22.063 27651-27675 System.err              com.contoso.acsquickstart            W  	at com.azure.android.communication.calling.NativeLibraryHelpers.checkStatus(NativeLibraryHelpers.java:250)
2024-06-24 17:52:22.063 27651-27675 System.err              com.contoso.acsquickstart            W  	at com.azure.android.communication.calling.CallClient$1.get(CallClient.java:155)
2024-06-24 17:52:22.063 27651-27675 System.err              com.contoso.acsquickstart            W  	at com.azure.android.communication.calling.CallClient$1.get(CallClient.java:148)
2024-06-24 17:52:22.063 27651-27675 System.err              com.contoso.acsquickstart            W  	... 4 more

Expected/desired behavior

Can create agent

OS and Version?

Host machine: ubuntu:18.04 Android-studio: 2023.2.1 Patch 1 Device: android-11

Versions

SDK: 2.9.0

Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
907 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,360 questions
Microsoft Intune Android
Microsoft Intune Android
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Android: An open-source mobile platform based on the Linux kernel, developed by Google, and maintained by the Open Handset Alliance.
304 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.