How to Solve: Error:Execution failed for task ':app:transformClassesWithInstantRunForDebug' : <p>The full error is this</p>

<p>Error:Execution failed for task ':app:transformClassesWithInstantRunForDebug'.</p>

<blockquote>
  <p>java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1 path $</p>
</blockquote>

<p>I made a small change to my project on Android Studio, tried to run it and it crashed my PC, it was completely frozen for a couple of minutes, first time this has happened while compiling on AS (I didn't use the ADB) when my PC restarts I get the error </p>

<p>Error:null value in entry: blameLogFolder=null</p>

<p>Results tell me to delete the .gradle foldier of my project, so I do that and when I run it again I get this new error.</p>

<p>I have no clue what's wrong or even how to fix it, and extra help online was no help.</p>

<p>Everything was working perfectly fine 10 minutes ago and now the project won't compile, I can't even make an apk.</p>
