简体   繁体   中英

Android Studio 3.5, the index time

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

  • Create a new project and wait for it to get compiled and ready or else open an existing Gradle built project.
  • Go to settings -> Build, Execution, Deployment -> Gradle. Tick the offline option.
  • Tweak the Gradle to reduce build time
  • Disable Unwanted Startup Programs

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM