Android Studio 3.0 Canary 4 Emulators Stuck in Reboot

99封情书 提交于 2019-12-12 13:05:13

问题


So yesterday I was using my TV, Mobile and Wear emulators (on Android Studio) just fine. Today in the morning an update came and I went and downloaded it. That's all I did. Since then my TV and Mobile emulator are stuck in rebooting, and I can't get them to do anything beyond that.

My AVD are both on API 23.

This is my error log:

Emulator: coreaudio: Could not lock voice for audioInputDeviceIOProc

Emulator: Reason: Invalid argument

I can't find anything related to these error messages and the emulator rebooting non stop. I tried to use Genymotion but it doesn't support TV & Wear (and I need them).

Found this on SO but it's not too related to my problem: Simulator stuck on boot

What I've tried so far (with no success):

  • Deleting Android Studio, downloading it and reinstalling it.
  • Invalidating cache & restarting.
  • Deleting AVD devices and recreating them.
  • Checking if Instant Run is unchecked (it was).

Anyone else had this problem and solved it? Thanks.


回答1:


So I finally managed to fix this. I still have no idea of how this particular issue came to be on my machine, but this is what solved it for me:

  1. On Android Studio open AVD Manager
  2. On the Actions column, click on the arrow and choose "Show on Disk"
  3. You will see a folder with your ADVs, and if you navigate up, you'll find a folder named "build-cache"
  4. Delete everything inside "build-cache" folder
  5. Delete your AVDs folders (the ones inside "avd" folder)
  6. Back on the AVD Manager, delete your AVDs
  7. Redownload and recreate them

Hope this helps anyone with the same issue.



来源:https://stackoverflow.com/questions/44578848/android-studio-3-0-canary-4-emulators-stuck-in-reboot

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!