Add problem solved record

close #47
master
Zhuang Ma 7 years ago
parent 7f9c53a5d3
commit f1ee103541
  1. 16
      README.en.md
  2. 16
      README.md

@ -103,6 +103,7 @@ Other languages: [:cn: Chinese](./README.md)
* [Other](#other)
* [common problem](#common-problem)
* [Start adb server failure](#start-adb-server-failure)
* [com.android.ddmlib.AdbCommandRejectedException](#comandroidddmlibadbcommandrejectedexception)
* [adb unofficial implementation](#adb-unofficial-implementation)
* [Acknowledgements](#acknowledgements)
* [Reference Links](#reference-links)
@ -2304,6 +2305,21 @@ taskkill /PID 1548
Then start adb no problem.
### com.android.ddmlib.AdbCommandRejectedException
Create a new emulator in Android Studio, but cannot connect with adb, output is:
```
com.android.ddmlib.AdbCommandRejectedException: 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.
```
After install a terminal app in emulator and run `su` command, it shows no su program, that is not normal.
So just delete the emulator and re-download, reinstall, all is well now.
## adb unofficial implementation
* [fb-adb](https://github.com/facebook/fb-adb) - A better shell for Android devices (for Mac).

@ -103,6 +103,7 @@ Other languages: [:gb: English](./README.en.md)
* [其它](#其它)
* [常见问题](#常见问题)
* [启动 adb server 失败](#启动-adb-server-失败)
* [com.android.ddmlib.AdbCommandRejectedException](#comandroidddmlibadbcommandrejectedexception)
* [adb 的非官方实现](#adb-的非官方实现)
* [致谢](#致谢)
* [参考链接](#参考链接)
@ -2331,6 +2332,21 @@ taskkill /PID 1548
然后再启动 adb 就没问题了。
### com.android.ddmlib.AdbCommandRejectedException
在 Android Studio 里新建一个模拟器,但是用 adb 一直连接不上,提示:
```
com.android.ddmlib.AdbCommandRejectedException: 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.
```
在手机上安装一个终端然后执行 su 提示没有该命令,这不正常。
于是删除该模拟器后重新下载安装一次,这次就正常了。
## adb 的非官方实现
* [fb-adb](https://github.com/facebook/fb-adb) - A better shell for Android devices (for Mac).

Loading…
Cancel
Save