英文:
Why mic is not working of Amazon's Fire tablet in React Native?
问题
我在尝试初始化来自@react-native-community/voice包的语音模块时遇到了这个错误。
启动语音时出现错误 [错误:不允许绑定到服务意图 { act=android.speech.recognitionservice cmp=amazon.speech.sim/com.amazon.alexa.multimodal.assistant.alexavoiceinteractionservice }]
我尝试初始化语音模块,但它没有被成功初始化。
英文:
I'm getting this error while initiating the voice module from this package @react-native-community/voice
errorstarting voice [error: not allowed to bind to service intent { act=android.speech.recognitionservice cmp=amazon.speech.sim/com.amazon.alexa.multimodal.assistant.alexavoiceinteractionservice }]
I tried to initiate the voice module but it is not getting initiated.
答案1
得分: 1
以下是要翻译的内容:
- 您可以检查一些事项:
- 是否已包括“RECORD_AUDIO”权限?
- 是否已在设备上启用了Alexa?
- 是否已为您的应用启用了“麦克风”权限?
英文:
A couple of things you can check:
- Have you included the RECORD_AUDIO permission?
- Have you got Alexa enabled on the device?
- Is the "Microphone" permission enabled for your app?
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论