speech-and-text-unity-ios-android
speech-and-text-unity-ios-android copied to clipboard
Error SpeechRecognizer bind to recognition service failed |Android 11
Hello All,
In android 11 we got this issue, after searching a lot we found that by adding below lines it should work :
but our app was crashed & we got a new error please check the attached screenshot Can anyone help us to fix it?
Hello,
We had the same problem and solved it by unistalling google voice services updates from the device.
Hope this fixes all your problems.
穏やかな巨人
Facing same issue. Nothing seems to work.
Same issue here. Any idea on how to solve this issue?
Same issue here. Any idea on how to solve this issue?
Here's the solution. It worked for me too.
https://github.com/j1mmyto9/speech-and-text-unity-ios-android/issues/58#issuecomment-900230642
Thanks for the answer. I added
<queries>
<package android:name="com.google.android.googlequicksearchbox"/>
</queries>
to the Assets/Plugins/Android/AndroidManifest.xml file, which now looks like this
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.INTERNET" />
<queries>
<package android:name="com.google.android.googlequicksearchbox"/>
</queries>
<application>
<activity
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
android:name="com.starseed.speechtotext.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
But unfortunately I still have the issue. I'm using Unity 2021.3. Which Unity version are you using? Does my AndroidManifest looks like yours?
Is your app running with android popup checkbox set to true in speechtotext?
Yes, the app works if I set Is Show Popup Android to true.
What is your Android version? Is it above 11? Because I have tested it on 11 only
I am using Android 11 too.
I am also having this issue with Unity 2021
Please check https://github.com/j1mmyto9/speech-and-text-unity-ios-android/issues/58#issuecomment-1657227651 for temporary fix