Android模拟器(adbdevices-l)未经授权的错误
创始人
2024-10-09 08:01:33
0

在使用adb连接Android模拟器的过程中,如果出现'unauthorized”错误,可以按照以下步骤进行解决:

1.在命令行中输入以下命令:

adb kill-server adb start-server

2.在模拟器中打开'开发者选项”,然后进入'USB调试”,取消勾选'USB调试(安全设置)”。

3.重新连接模拟器,输入以下命令:

adb devices

4.此时模拟器会弹出一个窗口提示是否授权连接,点击'确定”即可。

示例代码:

$ adb devices -l List of devices attached emulator-5554 unauthorized transport_id:2

$ adb kill-server $ adb start-server

  • daemon not running; starting now at tcp:5037
  • daemon started successfully $ adb devices -l List of devices attached emulator-5554 device product:sdk_phone_x86_64 model:Android_SDK_built_for_x86_64 device:generic_x86_64 transport_id:3

其中,'unauthorized”表示未经授权,'kill-server”是停止adb服务,'start-server”是启动adb服务。

相关内容

热门资讯

透视教程!hhpoker德州挂... 透视教程!hhpoker德州挂真的有吗,werplan透视挂,学习教程(一贯存在有挂)-哔哩哔哩1、...
透视游戏!aapoker免费透... 透视游戏!aapoker免费透视脚本,xpoker辅助工具,诀窍教程(一贯存在有挂)-哔哩哔哩1)a...
透视大厅!aa poker透视... 透视大厅!aa poker透视软件(透视)开挂辅助器(原来是有挂)-哔哩哔哩1、超多福利:超高返利,...
透视脚本!xpoker辅助工具... 透视脚本!xpoker辅助工具,pokernow辅助工具,方案教程(一贯真的有挂)-哔哩哔哩1、不需...
透视修改器!wepoker透视... 透视修改器!wepoker透视有吗(透视)开挂辅助神器(竟然是有挂)-哔哩哔哩wepoker透视有吗...
透视科技!wejoker透视方... 透视科技!wejoker透视方法,wepoker线上大神,操作教程(确实存在有挂)-哔哩哔哩在进入w...
透视苹果版!wepoker黑侠... 透视苹果版!wepoker黑侠辅助器正版下载,aapoker透视插件,举措教程(切实真的是有挂)-哔...
透视存在!wepoker辅助脚... 透视存在!wepoker辅助脚本(透视)开挂辅助软件(确实存在有挂)-哔哩哔哩1、玩家可以在wepo...
透视辅助!wejoker辅助机... 透视辅助!wejoker辅助机器人,wepoker挂,窍要教程(总是存在有挂)-哔哩哔哩wejoke...
透视私人局!pokemmo手机... 透视私人局!pokemmo手机脚本,wepoker安装教程,经验教程(真是是真的挂)-哔哩哔哩1.p...