gpt4 book ai didi

Android Studio 想要访问麦克风

转载 作者:行者123 更新时间:2023-12-02 01:06:36 30 4
gpt4 key购买 nike

我收到一个弹出窗口,其中 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.

https://android.googlesource.com/platform/external/qemu/+/a7c579bdcbe2543472535718d3b637cb864f6f36/hw/android/goldfish/audio.c#288

关于Android Studio 想要访问麦克风,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52945864/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com