Missing .so error on Unity sample for Android
See original GitHub issueDescribe the bug When attempting to deploy the Quickstart for Unity sample to Android, I get an “Unable to find libMicrosoft.CognitiveServices.Speech.core.so” error, despite the .so being contained in the built .apk
To Reproduce Steps to reproduce the behavior:
- Add Unity package to project (builds to Android).
- Include a class using Microsoft.CognitiveServices.Speech
- Build and deploy to device
- Press button trigger for Cognitive Services
- Error will appear in logs and services do not run.
Unity : Unable to find libMicrosoft.CognitiveServices.Speech.core.so
Unity : Unable to find Microsoft.CognitiveServices.Speech.core.so
Expected behavior Cognitive services to initialize and then start a recognizer at a button press. This tutorial.
Version of the Cognitive Services Speech SDK 1.4.2
Platform, Operating System, and Programming Language
- OS: Android, using SDK 26
- Hardware - ARM (armeabi-v7a), Pixel 3XL
- Programming language: C# in Unity
Additional context
I also receive this in the build logs:
Assembly 'Microsoft.CognitiveServices.Speech.csharp' has non matching file name: 'Microsoft.CognitiveServices.Speech.csharp.unix.dll'. This can cause build issues on some platforms.
Only the .dll/.so files under the Android folder and the .csharp.unix.dll are configured for Android
Issue Analytics
- State:
- Created 4 years ago
- Comments:23 (2 by maintainers)
Top GitHub Comments
We have opened issue internally and identified issues when using 2019 version of Unity on Android. With 2018 version of Unity, we do not see issue on Android. I’ll update the thread once we know more about solution with 2019 version.
@jhakulin - can you take a look?