Could not initialize class com.android.build.gradle.AppPlugin
<p>when i upgrade AndroidStudio 2.1 to 2.2 and gradle 2.14 to 2.2, there has a gradle compiled error:</p>

<blockquote>
<pre><code>Error:Could not initialize class com.android.build.gradle.AppPlugin
</code></pre>
</blockquote>