Android Studio 3.0 Canary 4 Emulators Stuck on Restart
So yesterday I used my TV, Mobile and Wear emulators (on Android Studio) just fine. An update came this morning and I went and downloaded it. This is all I have done. Since then, my TV and mobile emulator are stuck on reboot and I can't get them to do anything other than that.
My AVD works like API 23.
This is my error log:
Emulator: coreaudio: Could not lock voice for audioInputDeviceIOProc
Emulator: Reason: Invalid argument
I cannot find anything related to these error messages and the emulator restart does not stop. I tried to use Genymotion but it doesn't support TV and Wear (and I need them).
Found this on SO, but it is not too related to my problem: Simulator stuck on loading
What I have tried so far (no success):
- Uninstall Android Studio, download and reinstall.
- Invalid cache and restart.
- Removing AVD devices and re-creating them.
- Checking that Instant Run is not installed (it was).
Anyone else had this problem and got it resolved? Thank.
source to share
So, I finally managed to fix it. I still don't know how this particular problem started on my machine, but that helped me:
- In Android Studio open AVD Manager
- In the "Actions" column, click the arrow and select "Show on disk"
- You will see a folder with your ADVs and if you go up you will find a folder called "build-cache"
- Delete everything inside the "build-cache" folder
- Delete the AVDs folders (the ones in the avd folder)
- Go back to AVD Manager, delete your AVDs.
- Reload and recreate them
Hope this helps anyone with the same problem.
source to share