如何让android模拟器支持语音识别
我正在编写一个使用 Android 语音识别的应用程序。然而,我的应用程序在模拟器上运行不佳 - 但在移动设备本身上运行良好。
在模拟器上,我通过 logcat 收到一条红色错误消息,其中显示:
05-06 20:19:38.527: ERROR/SpeechRecognizer(1745): no selected voice recognize service
有人知道如何使模拟器支持语音识别服务吗?
干杯,
I am writing an app which uses android's speech recognition. However my app doesnt run well on the emulator - runs fine on the mobile itself however.
On the emulator I get a red error message through logcat which says:
05-06 20:19:38.527: ERROR/SpeechRecognizer(1745): no selected voice recognition service
Does anybody know how to enable an emulator to support speech recognition services?
Cheers,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在您的模拟器映像中,您可以像将语音转换为文本中那样安装 Google 语音搜索吗?该应用位于 https://market .android.com/details?id=com.google.android.voicesearch&feature=search_result。我认为这是添加识别器意图的唯一方法。识别器不是基础 Android 的一部分,它被认为是 Google 语音搜索附带的附加组件,并且包含在某些手机中。
但是,人们仍然报告了问题并建议使用真实设备而不是模拟器。看
为什么无法使用Android 模拟器上的语音记录器?
In your emulator image, can you install Google Voice Search as in Converting speech to text. The app is in the marketplace at https://market.android.com/details?id=com.google.android.voicesearch&feature=search_result. I think this is the only way to add the Recognizer Intent. Recognizer is not part of the base Android, it is considered an additional component that ships with Google Voice Search and is included in some phones.
But, people have still reported problems and suggest using a real device instead of the emulator. See
Why is it impossible to use the Speech Recorder on the Android emulator?
我有同样的问题,我可以在 genymotion 中执行此操作,您需要在 genymotion 完整包上安装 google 应用程序,因为您可以看到它支持 Google TTS 请查看此链接
http://teckfront.com/download -android-4-3-jelly-bean-google-apps-gapps-full-mini-packages/
对于其他版本 https://www.androidfilehost.com/?w=files&flid=5648
I have the same issue , I can do this in genymotion all you need to do install google apps on your genymotion full package as you can see it support Google TTS please have a look at this link
http://teckfront.com/download-android-4-3-jelly-bean-google-apps-gapps-full-mini-packages/
for others versions https://www.androidfilehost.com/?w=files&flid=5648