安卓手机调试

使用模拟器电脑内存消耗太大,所以建议使用真机进行调试.我使用的是小米note.遇到了几个小问题,记录一下

手机连上电脑,打开开发者选项,设置---miui版本号点击6次---开启开发者选项----更多设置-----开发者选项-----打开usb调试-----打开usb安装---就好了

如果爆了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.
WARNING: Uninstalling will remove the application data!
Do you want to uninstall the existing application?

![B62%DEOZDJYVNNTBAM]V7.png](http://upload-images.jianshu.io/upload_images/4157085-cffcabeaafa47084.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

那就是你的usb安装没有打开,打开usb安装就好了.

你可能感兴趣的:(安卓手机调试)