qt unauthorized please check the confirmatiion - 小众知识

qt unauthorized please check the confirmatiion

2021-09-22 01:26:02 苏内容
  标签:
阅读:4988

Android 4.4设备连接时提示:device unauthorized. Please check the confirmation dialog on your device.

解决方法:

adb kill-server

adb shell

这时手机上出现对话框,点击确认

SDK应该直接支持adb命令

you have missed the Fingerprint Certificate Authorization dialog in your phone when you connected it, try to change the USB mode to Media, or another different than the one you have in and then reconnect your device, or go to Developer Options -> Revoke USB Debugging and reconnect, watch for the dialog and click on accept, that should solve your problems.

If that doesn't work, set your ANDROID_SDK_HOME again, and then:

  1. Unplug device
  2. Run:

    adb kill-server 
    adb start-server
  3. Plug in device



Please check this. https://code.google.com/p/android/issues/detail?id=82850

I faced the same issue. Could notice that the "adb integration" was disabled. Please enable it at your IDE (Tools | Android)


1) Go to Phone Setting > Developer options > Revoke USB debugging.

2) Turn off USB debugging and Restart Again.

It will work definitely, in my case it worked.



appium 连接真机出现this adb server's $ADB_VENDOR_KEYS is not set

1.检查是否经过授权:(如下是未授权的)

2.撤销手机上的USB调试

如果该设备显示为未授权,请转到手机上的开发人员选项,然后单击“撤销USB调试授权”(已通过JellyBean和Samsung GalaxyIII测试)。

然后重启adb服务器

adb kill-server
adb start-server

4.重新连接设备

设备将询问您是否同意连接计算机ID。您需要确认。

5.现在检查设备

现在已授权!


最近拿了个新手机,cmd 命令行安装apk时候,遇到:


Microsoft Windows [版本 6.1.7601]

版权所有 (c) 2009 Microsoft Corporation。保留所有权利。

C:\Users\Administrator>adb install C:\Users\Administrator\Desktop\release\release\GangGang_release-2.0.apk

error: device unauthorized.

This adb server's $ADB_VENDOR_KEYS is not set

Try 'adb kill-server' if that seems wrong.

Otherwise check for a confirmation dialog on your device.

adb: error: failed to get feature set: device unauthorized.

This adb server's $ADB_VENDOR_KEYS is not set

Try 'adb kill-server' if that seems wrong.

Otherwise check for a confirmation dialog on your device.

- waiting for device -

百度了一通,试了几篇文章,感觉有点麻烦,后来自己尝试换了了usb接口,并检查数据线是否插紧和线是否正常,重新插拔了一下,结果问题问题得到了解决! 先总结和记录了一下,下次遇到问题,多方面思考,先把可能出现问题的原因和相关关联方列出来,然后逐一排查, 最终锁定焦点,找到解决方案! 

扩展阅读
相关阅读
© CopyRight 2010-2021, PREDREAM.ORG, Inc.All Rights Reserved. 京ICP备13045924号-1