APP运行时报如下错误:
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?
用android studio 运行程序时一直报“Installation failed with message Failed to establish session”错,经过资料查询,小米手机在开发者选项里关闭MIUI优化就好了!