问题
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:
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.
来源:https://stackoverflow.com/questions/39716116/pocketsphinx-android-demo-error-failed-to-init-recognizer-java-io-ioexception