I am having problem with Android Studio where my Andrdoid virtual device gets terminated for no clear reason!
I tried searching all over internet and Stackoverflow but nothing seemed to work for me. Tried everything from installing just SDK, Buildtools, Envoirnment-variables, to completely deleting and reinstalling android studio but issue persists. Ps it's not space issue as i have plently available
Solution it's temporary fix but works!
- open Android Virtual Device manager.
- click 3dots(located right after the pencil)
- click show on device
- delete the cache file. (there will be file named cache)
- There will be file named config.ini, (open it and change hw.ramSize=3068 hw.cpu.ncore=1 ) cores and ram you can also change ram and cores from that pencil and going to advanced. after that do a cold start and wait patiently!! it will load up after a while! it works ....
i just did it.. but i have to do it everytime...