adb.exe 已停止使用 Android Studio 4.3.1 和 Android 9.+ [英] adb.exe has stopped working with Android Studio 4.3.1 and Android 9.+

查看:28
本文介绍了adb.exe 已停止使用 Android Studio 4.3.1 和 Android 9.+的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用具有所有推荐设置的最新干净安装 Android Studio 后,当我尝试启动模拟设备时出现此连续错误.设备正确启动并正常工作,但如果关闭adb.exe 已停止工作"弹出窗口,它们会继续出现,此外,由于无法识别,因此无法将设备与 Android Studio 链接.即使我下载了以前的 Android (Android 9.0) 映像,我也遇到了同样的问题.

With the latest clean installation of Android Studio with all the recommended settings I have this continuous error when I try to start an emulated device. The device starts up correctly and works properly but the "adb.exe has stopped working" popups continue to appear if they are closed, furthermore it is not possible to link the device with Android Studio because it is not recognized. Even if I download a previous image of Android (Android 9.0) I have the same problem.

唯一安装的插件是 Dart 和 Flutter.这个问题可以重复,但我没有找到这个问题的解决方案,或者更确切地说,找到的解决方案不允许我关闭这个问题.

The only plugins installed are Dart and Flutter. The question could be repeated but I did not find solutions for this problem, or rather, the solutions found did not allow me to close this problem.

在此更新之前,一切正常.在这种情况下,我们说的是全新安装.

Before this update everything was working properly. In this case we speak of a clean installation.

当我尝试启动main.dart"应用程序以将其安装到设备上时,出现的唯一错误是检索 ro.product.cpu.abi 的设备属性时出错:"

When I try to start the "main.dart" application to install it on the device the only error that appears is "Error retrieving device properties for ro.product.cpu.abi:"

Android Studio 3.4.1 Build #AI-183.6156.11.34.5522156,构建于 2019 年 5 月 1 日 JRE: 1.8.0_152-release-1343-b01 amd64 JVM: OpenJDK 64-Bit Windows Server VM by JetBrains.100sro

Android Studio 3.4.1 Build #AI-183.6156.11.34.5522156, built on May 1, 2019 JRE: 1.8.0_152-release-1343-b01 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Windows 10 10.0

Android 调试桥版本 1.0.41版本 29.0.0-5611747

Android Debug Bridge version 1.0.41 Version 29.0.0-5611747

推荐答案

现在有一个临时修复(如果您使用的是 Windows)!

There is a temporary fix for now (if you're using Windows)!

第一次关闭Android Studio

2nd 打开CMD并写入:taskkill/f/im adb.exe

第三次 下载此文件:http://dl-ssl.google.com/android/repository/platform-tools_r28.0.2-windows.zip

第四转到

4th Go to

C:\Users[您的用户名]\AppData\Local\Android\Sdk

C:\Users[your-username]\AppData\Local\Android\Sdk

并用您刚刚下载的新文件夹替换platform-tools"文件夹.

and replace the "platform-tools" folder with the new one that you just downloaded.

ps: (a) 不要忘记保留备份 (b) AppData 是一个隐藏文件夹

ps: (a) don't forget to keep the backup (b) the AppData is a hidden folder

这篇关于adb.exe 已停止使用 Android Studio 4.3.1 和 Android 9.+的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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