Emulator Stuck: Revoking microphone permissions for Google App
Asked Answered
S

2

9

In Android Studio I created an emulator...
avdmanager create avd --force --name testAvd --abi google_apis_playstore/x86 --package "system-images;android-29;google_apis_playstore;x86"

and tried to start it...
emulator -avd testAvd -no-boot-anim -no-snapshot-save -no-audio -no-window -gpu off -debug -all.

It stucks now at
emulator: Revoking microphone permissions for Google App..

Does anybody have an explanation and a solution for this problem?

Thanks in advance for any reply.

Saltpeter answered 21/1, 2020 at 20:38 Comment(2)
I'm having the same issue. Also, this question is very similar: #58206685, just in case an answer comes up there that we can adopt here too.Urial
Using -no-audio as per forum.katalon.com/t/… did the trick for me. But, if I run an adb reboot then I'm stuck in the same place again...Urial
M
4

In Visual Studio go to Tools-> Android -> Restart Adb Server did it for me

Morten answered 5/2, 2021 at 18:48 Comment(0)
R
1

Add the following call to your command:

adb wait-for-device

example:

emulator -avd testAvd -no-boot-anim -no-snapshot-save -no-audio -no-window -gpu off -debug -all & adb wait-for-device

If you encounter an error saying adb: command not found you need to add paths into your bash/zsh config

export PATH=~/Library/Android/sdk/tools:$PATH
export PATH=~/Library/Android/sdk/platform-tools:$PATH
Rohr answered 19/7, 2023 at 13:57 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.