Laerdal / Xamarin.AzureCommunicationCalling

Xamarin iOS and Android binding libraries for Microsofts Azure Communication Services
MIT License
35 stars 11 forks source link

(Android) No implementation found for com.azure.communication.calling.status #10

Closed axelasarmiento closed 3 years ago

axelasarmiento commented 3 years ago

Hi @tompi,

thank you so much for the new sample project using the NuGet packages

the iOS app is working great otherwise we are getting an error when we want to initialize the callingManager on Android _callingManager.Init(_token);

No implementation found for com.azure.communication.calling.status com.azure.communication.calling.NativeLibrary.sam_call_client_create(com.azure.communication.calling.Out) (tried Java_com_azure_communication_calling_NativeLibrary_sam_1call_1client_1create and Java_com_azure_communication_calling_NativeLibrary_sam_1call_1client_1create__Lcom_azure_communication_calling_Out_2)

We appreciate your help,

Thanks, Axel

tompi commented 3 years ago

Hi. Not at my computer, but is this happening when debugging and linker options set to don’t link?

axelasarmiento commented 3 years ago

yes, I have tested using different linker options and also in release mode

tompi commented 3 years ago

I’ll check some devices tomorrow, but which device are you trying to debug on?

axelasarmiento commented 3 years ago

I have been testing on different physical devices such as Galaxy Note 8 and LG Q5 and emulator using android 9 and 10

tompi commented 3 years ago

@axelasarmiento Tested the app locally now, and didnt get any errors on initialization... I assume this is not happening on the TestApp, but rather on your own app? Could you try adding an explicit reference to the "Xamarin.AzureCommunicationCommon.Android" and "Xamarin.AzureCore.Android" nugets? Also, if it crashes later on, compare to testapp nugets, I THINK you need to reference Square.OkHttp3 and Square.Retrofit2 as well, and for newer android version you need this in your android manifest(in "application"

<uses-library android:name="org.apache.http.legacy" android:required="false" />
axelasarmiento commented 3 years ago

I downloaded the TestApp project and I am getting the same error on the android side, I verified the nugets you told me about but it is still showing the same message

Screen Shot 2020-12-02 at 12 33 32 PM
tompi commented 3 years ago

@axelasarmiento Could you check the ABI of your phones and emulators? (default for emulators are x86 I think which is not supported by ACS) .

To check ABI for your connected phone:

adb shell getprop ro.product.cpu.abi

ACS only supports x86_64 and arm64-v8a

kagbakpem commented 3 years ago

Thanks @tompi. @axelasarmiento, we currently only have support for x86_64 and arm64-v8a but will be providing support for the 32-bit ABI in our next release, so please stay tuned. Re: your issue, if you figure out your issue is due to the unsupported ABI, let us know and we'll do our best to expedite the release if needed.

axelasarmiento commented 3 years ago

hi,

we tested it on a newer android device and it worked!

Thank you so much for your help!

bigbbri commented 3 years ago

Thanks @tompi for your help, we appreciate all of you. Do you have an estimated date for the release that will support 32-bit ABI?

Thanks again, Brian Adams President, Ameliom IT LLC A 30985 Oakview Rd Bulverde, TX 78163 M 210-452-1639 W www.ameliom.com

From: Komivi Agbakpem notifications@github.com Reply-To: "Laerdal/Xamarin.AzureCommunicationCalling" reply@reply.github.com Date: Thursday, December 3, 2020 at 11:09 AM To: "Laerdal/Xamarin.AzureCommunicationCalling" Xamarin.AzureCommunicationCalling@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: Re: [Laerdal/Xamarin.AzureCommunicationCalling] (Android) No implementation found for com.azure.communication.calling.status (#10)

Thanks @tompihttps://github.com/tompi. @axelasarmientohttps://github.com/axelasarmiento, we currently only have support for x86_64 and arm64-v8a but will be providing support for the 32-bit ABI in our next release, so please stay tuned. Re: your issue, if you figure out your issue is due to the unsupported ABI, let us know and we'll do our best to expedite the release if needed.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/Laerdal/Xamarin.AzureCommunicationCalling/issues/10#issuecomment-738144795, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJOCMXKV4BLVNODFE44DEYDSS7A5HANCNFSM4UJL3UOQ.

kagbakpem commented 3 years ago

@bigbbri, things keeps evolving so can't give a definitive timeline but it's reasonable to expect a drop by the EOY.

tompi commented 3 years ago

@bigbbri I'll keep this issue open, and close it once Microsoft releases 32 bit support and this binding lib is updated.

tompi commented 3 years ago

@bigbri 1.0.0-beta.5.1 should bring 32-bit support(and hence doubles the nuget size...)