adb causing AdbCommandRejectedException device off

2019-08-13 02:38发布

Adb is showing this exception in Android studio

PropertyFetcher: AdbCommandRejectedException getting properties for device ZX1B32QXZV: device unauthorized. Please check the confirmation dialog on your device.

I have confirmed the dialog and even formatted my OS

标签: adb
1条回答
闹够了就滚
2楼-- · 2019-08-13 03:09

in Android Studio go to the launch configuration ("Edit Configurations:..."). Then under Target Device: choose the following value

  • Show chooser dialog

I had the same problem and had it set to "USB Device". This caused the connection to fail when trying to deploy to the emulator.

查看更多
登录 后发表回答