adb.exe device unauthorized
使用adb命令时提示:
F:\tgit\AndroidStudioProjects\NaviveTest> adb shell pm list packages
adb.exe: device unauthorized.
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
debug时也不会自动安装到虚拟机,断点也进不来,查了半天原因是虚拟机版本不对,我创建的是google play版本的,应该创建google api版本的,换成下图的虚拟机后问题解决了:
image.png
网友评论