title: Why Invalidate Cache/Restart option causes android studio to build forever?
body: <p>I have done research and seems the <strong>Invalidate cache/restart</strong> option optimize build time. Adding new dependency in the gradle, made android studio stuck building for <strong>3 hours</strong> now. I restarted the project and performed <strong>Invalidate cache/restart</strong> option. Which made the project to restart but still the problem persists. Meaning <strong>Gradle:Build model...</strong> takes forever to build. I have restarted the project several times but seems the issue persist. Also, I have done and performed most of the searches <strong>Why Gradle Build Process is Slow</strong> seems none of them worked for me.</p>