且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Android的工作室 - ADB错误 - " ...设备未授权。请在您的设备&QUOT检查确认对话框;

更新时间:2022-10-23 17:56:29

您已经错过了在手机中的指纹证书授权对话框,当你连接,请尝试更改USB模式,以媒体,或比你有另一种不同的然后重新连接设备的手表的对话框,点击接受,这应该解决您的问题。 :D

否则试试这个:

重新设置你的ANDROID_SDK_HOME和:

  1. 拔掉设备
  2. ADB杀死服务器
  3. 亚行启动服务器
  4. 插件设备

So I started getting errors in my ADB logs which, I think, are causing my device to now display any logcat output for my app. I am getting all the logcat output except the one from the app itself.

PropertyFetcher: AdbCommandRejectedException getting properties for device 04799057970ed1fc: device offline
PropertyFetcher: AdbCommandRejectedException getting properties for device 03799467970ed5fg: device unauthorized. Please check the confirmation dialog on your device.

you have missed the Fingerprint Certificate Authorization dialog in your phone when you connected it, try change the usb mode to Media, or another different than the one you have in and then reconnect your device watch for the dialog and click on accept, that should solve your problems. :D

Otherwise try this:

set your ANDROID_SDK_HOME again and:

  1. unplug device
  2. adb kill-server
  3. adb start-server
  4. plug device