在小米5手机用studio2.3版本时(其他版本是否有不知,刚转studio不久)调试时,as提示:
Installation failed with message Failed to establish session.
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!
Installation failed with message Failed to establish session.
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
经查找,需要将“启用MIUI优化”关闭,就可以正常调试了