为什么Amazon的Fire平板上的麦克风在React Native中不工作?

huangapple go评论64阅读模式
英文:

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?

huangapple
  • 本文由 发表于 2023年6月19日 22:56:52
  • 转载请务必保留本文链接:https://go.coder-hub.com/76507834.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定