根据上篇转载博文https://blog.csdn.net/sinat_15417921/article/details/51907728所述,解决android端报错
Error running app: 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)
即更新distributionUrl=https://services.gradle.org/distributions/gradle-4.11-all.zip,奈何更新没成功,又退回原distributionUrl.后来报了如下错误:
解决方法:
1、打开Edit Configurations...
2、在Install Flags中写上“-t”
3、依次点击Apply——OK,重新运行成功。