After I build Android Studio 3.5, the index time becomes Android Studio Layer.
my project was working well but suddenly, Android Studio freezes and I should stop it from task manager. before this happens I installed "Geny motion" & "Virtual Box", but when the error occurred I uninstalled them. but the problem insisted.
Use of the power saver mode in Android Studio (File -> Power Saver). It reduces the load on the CPU by disabling the background processes.
Also, make sure you don't have any unnecessary applications running in the background on your PC.
Another option
If none of the above steps work, find the path of the file: haxm.exe Re-install this by double-clicking on it. While re-installing, manually allot the ram to at least 4 GB since you've got a ram of 8 GB. It should work properly.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.