因为自己的调试机是安卓5.0的,可以直接通过USB直接进行调试;但是后来部署应用到安卓6.0的系统上去出现了无法安装的错误;
具体提示错误信息为:Installation failed with message INSTALL_CANCELED_BY_USER.
It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing.
后来查了,因为Android 6.0后手机权限的使用有很大的改变;有些权限的使用与以前完全不一样(以往权限的使用,只是需要在配置文件当中申请使用就好了)
出现这个问题的解决方法: http://blog.csdn.net/cswoniu111/article/details/52997911
使用的调试机是 小米4 Android 6.0.1