问题
Whenever I try to start an app, either by debugging or playing, after compiling with:
dependencies {
classpath 'com.android.tools.build:gradle:2.0.0-alpha5'
}
I get the message:
No local changes detected, not deploying APK.
I get this even when there most certainly are changes, so I am unable to push any new changes to the device without actually moving the APK to the device and installing it manually. I've tried unchecking the "Skip installation if APK has not changed" configuration option, but that does nothing to help.
回答1:
Change your dependancies to apha6
dependencies {
classpath 'com.android.tools.build:gradle:2.0.0-alpha6'
}
来源:https://stackoverflow.com/questions/34818026/android-preview-build-tools-alpha-5-wont-deploy-apk