Pocketsphinx Android demo error: “Failed to init r

2019-07-27 01:53发布

I have been using Pocketsphinx Android demo and get the error: "Failed to init recognizer java.io.IOException: Failed to initialize recorder. Microphone might already be in use."

What does the error mean and what can I do to fix it ?

1条回答
爷的心禁止访问
2楼-- · 2019-07-27 02:34

If you upgrade your Android OS to 6 or it is already 6, you have to ask permission in runtime. Android manifest recorder permission is not enough after Android OS 6. It will give this error if you do not ask permission.

查看更多
登录 后发表回答