Android Studio中关于Gradle 的版本问题

   在Android Studio项目中,可能由于Gradle版本问题会出现下面问题:

           This version of Android Studio is incompatible with the Gradle Plugin used. Try disabling Instant Run (or updating either the IDE or the Gradle plugin to the latest version)

          并且项目在编译的时候没有问题,但是运行的时候会出现上面的错误。解决上面的问题可以按照下图解决:

Android Studio中关于Gradle 的版本问题