Instant Run is disabled:
Android Plugin for Gradle version 1.5.0 does not support Instant Run. Please update to version 2.1.0-alpha3
(Don't show again)
Android Studio运行时出现了这个问题,虽然能正常运行,但是需要解决,解决方法:
步骤一:
在Project 根目录下的build.gradle,将原来的
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
}
}
修改为:
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.0-alpha3'
}
}
步骤二:修改Project根目录下的gradle文件夹下的gradle-wrapper.properties文件
如果是版本是 2.8的,修改为2.10以上
distributionUrl=https://services.gradle.org/distributions/gradle-2.10-all.zip