'Android studio crashes everytime i try to run the app

When i try to run app on my laptop, android studio crashes and laptop gets freezed everytime. I always have to build the app and then run on my phone. I created new virtual device today and it got crashed again (shown in below image).

android studio got freeze here on running the app



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source