Android Studio中的应用程序安装失败 [英] Application Installation Failed in Android Studio

查看:544
本文介绍了Android Studio中的应用程序安装失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

昨天我的应用程序从Android Studio正常运行,但是今天当我开始使用我的应用程序并运行它时,我不断收到错误消息

Yesterday my app was running perfect from Android Studio but today when I started working on my app and running it i am getting error message continuously

安装失败,并显示消息无法建立会话.

Installation failed with message Failed to establish session.

屏幕:

在点击确定时出现错误消息

会话"app":安装APK时出错

Session 'app':Error Installing APKs

并且设备中不存在该应用(已卸载).请建议我该怎么办?

And App is not exist(already Uninstalled) in device. Please suggest me what to do ?

推荐答案

同样在此问题中,我还发现Instant Run越野车.当我禁用即时运行并再次运行该应用程序时,该应用程序将开始成功安装在设备中,而不会显示任何错误窗口. 希望Google尽快解决这些问题.

Again in this issue also I found Instant Run buggy. When I disable the Instant run and run the app again App starts successfully installing in the Device without showing any error Window. I hope google will sort out these Issues with Instant run soon.

从Android Studio禁用即时运行的步骤:

Steps to disable Instant Run from Android Studio:

文件> 设置> 构建,执行,部署> 即时运行> 取消选中 (启用即时运行以热插拔代码)

File > Settings > Build,Execution,Deployment > Instant Run > Un-check (Enable Instant Run to hot swap code)

这篇关于Android Studio中的应用程序安装失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆