Android preview build tools alpha 5 won't deploy APK

假装没事ソ 提交于 2020-01-13 14:04:38

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!