报错 Session 'app': Error Installing APKs
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 ?
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 ?
原文翻译:
信息无法建立会话时,安装失败。
卸载现有版本的apk文件(如果存在),然后重新安装,可以解决此问题。
警告:卸载将删除应用程序数据!
是否要卸载现有应用程序?
解决方式:
1. 不勾选andorid studio中的【File】-【setting】-【Instant Run】的默认选项
2.不勾选小米5 手机中【开发者选项】-【启用MIUI优化】