Azure-Samples / cognitive-services-speech-sdk

Sample code for the Microsoft Cognitive Services Speech SDK
MIT License
2.97k stars 1.86k forks source link

Can't find so file when SDK used in a android system App #2600

Open liquanzeng-calibur opened 2 months ago

liquanzeng-calibur commented 2 months ago

AAR file improt Android.bp android_library_import { name: "ms-client-sdk-embedded", aars: ["client-sdk-embedded-1.38.0.aar"], sdk_version: "current", }

My App depenency (No build error): static_libs: [ "ms-client-sdk-embedded", ],

Error: 09-22 06:30:54.752 4872 4872 E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: library "libMicrosoft.CognitiveServices.Speech.java.bindings.so" not found

When I used this aar in android studio for 3rd parth app, there is no error occured.

So, maybe aar file can't be used correctly in android.bp ?

github-actions[bot] commented 1 month ago

This item has been open without activity for 19 days. Provide a comment on status and remove "update needed" label.