adb 安装失败 [英] Adb install failed

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

问题描述

我正在开发一个安卓应用.在今天早上之前,当我在 Android Studio 中单击运行"时一切正常,IDE 将编译我的代码并将 apk 自动安装到我的设备上.但是现在当 IDE 安装 apk 时设备将自动断开连接,所以我尝试手动安装 apk,我得到了同样的结果,像这样:

我的环境操作系统:Ubuntu 16.04安卓工作室:安卓工作室 3.5Build #AI-191.8026.42.35.5791312,建于 2019 年 8 月 9 日JRE:1.8.0_202-release-1483-b49-5587405 amd64JVM:JetBrains s.r.o 的 OpenJDK 64 位服务器 VMLinux 4.15.0-65-通用Android 调试桥版本 1.0.41版本 29.0.4-5871666

有人和我一样犯过同样的错误吗?谢谢你.

解决方案

我在升级 Android 3.6 后开始出现这个问题

我首先尝试了

它现在工作正常

I'am developing an android app. before this morning everythings ok when i click 'run' in Android Studio, the IDE will compile my codes and install apk to my devices automatically.but now device will disconnect automatically when IDE install apk, so i try to install apk manually,i got same result,like this:

My Envirement OS:Ubuntu 16.04 Android Studio: Android Studio 3.5 Build #AI-191.8026.42.35.5791312, built on August 9, 2019 JRE: 1.8.0_202-release-1483-b49-5587405 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Linux 4.15.0-65-generic Android Debug Bridge version 1.0.41 Version 29.0.4-5871666

Is anyone got same error like me? Thanks you.

解决方案

I started having this issue after upgrading Android 3.6

I first tried everything listed on Android error: Failed to install *.apk on device *: timeout

Many of those suggestions are common and should be tried as well. I had to change cable in the past. reboot devices. uninstall applications. but nothing was working today.

I finally figured I needed to update the SDK toolkits

it is now working fine

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

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