Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic feature UnsatisfiedLinkError #130

Open
imaiya opened this issue Sep 10, 2023 · 0 comments
Open

Dynamic feature UnsatisfiedLinkError #130

imaiya opened this issue Sep 10, 2023 · 0 comments

Comments

@imaiya
Copy link

imaiya commented Sep 10, 2023

I'm using the speech recognition of azure, because the aar provided by azure is relatively large, so I use this feature as a dynamic feature module, like this
Implementation com.microsoft cognitiveservices.speech: client-sdk: 1.27.0 '

com.microsoft cognitiveservices.speech: client-sdk contains the so file, and will automatically System.loadLibrary (") inside aar.

After my dynamic feature module is installed, the speech recognition function is called in the current activity, and the base module uses reflection to call the dynamic module code, but UnsatisfiedLinkError

Oddly enough, if I kill the app and restart it, it works fine

How can I solve this problem

Seems similar to this #30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant