Android的preVIEW构建工具阿尔法5将不会部署APK [英] Android preview build tools alpha 5 won't deploy APK

查看:214
本文介绍了Android的preVIEW构建工具阿尔法5将不会部署APK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我试图启动一个应用程序,可以通过调试或玩耍,与编译后:

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'
}

我得到的消息:

未检测到的局部变化,而不是部署APK。

No local changes detected, not deploying APK.

我得到这个即使存在肯定有变化,让我无法推送到设备的任何新的变化,而不实际移动APK到设备并手动安装。我试着取消选中配置选项,但没有帮助,如果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.

推荐答案

更改您的依赖关系到 apha6

dependencies {
    classpath 'com.android.tools.build:gradle:2.0.0-alpha6'
}

这篇关于Android的preVIEW构建工具阿尔法5将不会部署APK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆