未授权设备仿真器-5554。 (Android) [英] Device emulator-5554 is not authorized. (Android)

查看:475
本文介绍了未授权设备仿真器-5554。 (Android)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了类似这样的问题:[未经授权的adb-emulator-5554设备 [1]

I have run into similar problem like this: [emulator-5554 unauthorized for adb devices [1]

基本上,我正在尝试使用Windows 10在Android虚拟设备上进行一些混乱的编程...尽管我没有认为此问题是特定于抖动的。

Basically, I am trying to do some flutter programming on an Android Virtual Device with my Windows 10... although I don't think this problem is flutter-specific.

启动虚拟设备后,我运行了

After starting the virtual device, I ran

flutter doctor -v

除了

[!] Connected device
• Device emulator-5554 is not authorized.
  You might need to check your device for an authorization dialog.

我跑步时

flutter devices

我明白了:

No devices detected.
Run 'flutter emulators' to list and start any available device emulators.

我跑步时

flutter emulators

我知道

1 available emulator:
Nexus_5X_API_28
To run an emulator, run 'flutter emulators --launch <emulator id>'.
To create a new emulator, run 'flutter emulators --create [--name xyz]'.

几天来,我几乎尝试了上面帖子中的所有内容。在这里找不到任何可以真正解决我问题的东西:我曾尝试删除AVD并创建一个新的AVD。我尝试删除一对adbkey文件;我尝试杀死adb服务器并重新启动;我尝试打开和关闭调试模式/ USB调试;我曾尝试擦除AVD的数据并冷启动;我尝试更新SDK工具.....
我已经重复尝试了好几天,但仍然没有成功。我想知道我在这里做错了什么...

For days, I have tried almost everything from the post above.I have googled about it but I haven't found anything that can really solve my problem here: I have tried deleting the AVD and creating a new one; I have tried removing the pair of adbkey files; I have tried killing adb server and restarting; I have tried turning on and off the debugging mode/USB debugging; I have tried wiping the data and cold starting for the AVD; I have tried updating the SDK tools..... I have been repetitively trying all these for days and I still get no success. I wonder what I have done wrong here...

真的希望有人能在这里给我一些合理的建议。

Really hope someone can give me some sound advice here. Thank you in advance!

注意:我在Android Studio上创建了我的AVD。我在命令提示符下运行了 flutter医生。不知道这是否与此有关。

Note: I created my AVD on Android Studio. I ran flutter doctor on command prompt. Don't know if that has got anything to do with this.

[1]:针对adb设备未授权的模拟器5554

[1]: emulator-5554 unauthorized for adb devices

推荐答案

我不知道这是否真的是解决方案。

I don't know if this is really the solution for it.

今天,我尝试用不同的图像(相同的API级别)创建不同的AVD。
新的AVD可以使用!

Today I have tried creating a different AVD with a different image (Same API level). The new AVD works!

我想知道旧图片是否有错误或存在什么缺陷-即使那是官方的Google Play图片。

I wonder if it is the case that the old image was buggy or whatsoever - even though that was an official Google Play image.

我想我的新照片不是官方的,但它可以正常工作并且连接没有问题。

My new image was not official, I guess, but it works and connects without problem.

这篇关于未授权设备仿真器-5554。 (Android)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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