How to cancel Android Studio build?
<p>After I initiated the build or assemble process I can't effectively cancel it if I suddenly need to do something. </p>

<p>If I click the red cross the process will be renamed to <strong>"Stopping build..."</strong> but ultimately will continue until it finishes. The only way I can effectively stop it is to shut down <code>AS</code>.
Is it a IDE bug of am I doing something wrong? (besides double checking every time I press build ofc)</p>