2022/7/29 oppo-r11s Android 8-test success
After connecting the Android device, the windows computer wants to enter the device through the terminal command line, and an error is reported
Error content
C:\Users> adb shell 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.
Inspection items:
1. Whether the data cable is plugged firmly
2. Whether the developer option is turned on
3. Whether the USB debugging option is turned on
If the above inspections are normal, the following methods can be used to solve the problem:
On the command line, enter adb kill-server to close the ADB service, and then ADB devices. He will automatically start the service. After querying the device, enter ADB shell again to test successfully.
If you fail unfortunately, you can enter adb start-server to restart the service that has just been shut down.
adb kill-server
Read More:
- Error: ADB prompts device unauthorized
- adb shell error: device offline [How to Solve]
- On the error report after the command of ADB shell error:device not A solution of found
- [Solved] adb shell error: no devices/emulators found
- [Android test] solution for error closed after the carriage return of the ADB shell
- How to eliminate ADB error “more than one device and emulator”
- Adb error: more than one device/emulator error handling
- Android ADB command adb devices error: protocol fault (no status)
- The ADB server port is changed to 10001, and appium cannot connect to the device
- Android error: ADB port is occupied( adb.exe ,start-server’ failed — run manually if necessary)
- How to Fix adb_server_notify: ADB server connection failed
- After adb is connected to an android phone, remount failed: operation not permitted when adb remount is a roundabout solution
- Ubuntu cannot access USB device, failed to create a proxy device for the USB device
- An undetermined call to function ‘shell’: missing ‘. Stop. Problem encountered when using shell command in makefile
- Common shell (1): shell gets the current time stamp of the system
- device no response, device descriptor read/64, error -71
- Failed to dlsym make_device: undefined symbol: make_device
- You must restart ADB and eclipse
- ADB connection error
- Solve the problem that the connection between ADB and nocturnal God cannot be solved