Reputation: 51
when i upgrade AndroidStudio 2.1 to 2.2 and gradle 2.14 to 2.2, there has a gradle compiled error:
Error:Could not initialize class com.android.build.gradle.AppPlugin
Upvotes: 5
Views: 3252
Reputation: 2682
If there are plugins specified in the project's gradle build files, check that they have been upgraded. I fixed this problem by upgrading com.github.hierynomus.license
to the latest version.
Upvotes: 2