我收到一个弹出窗口,其中 Android Studio 请求访问我的麦克风的权限。
据我所知,Android Studio 中没有语音命令功能。
我发现这很奇怪,我希望有人知道为什么我的 IDE 要访问我的麦克风。
最佳答案
这是 Android 模拟器。模拟的手机有麦克风,因此模拟器使用计算机的麦克风来模拟它。
随意拒绝访问您的麦克风;模拟器可以正常工作——当然,麦克风除外。
编辑:monocasa on HN更详细的解释:
It just enables the microphone at emulated device instantiation time. Easier than enabling/and disabling it at runtime.
关于Android Studio 想要访问麦克风,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52945864/