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:
- Adb error: more than one device/emulator error handling
- How to eliminate ADB error “more than one device and emulator”
- On the error report after the command of ADB shell error:device not A solution of found
- How to Fix LDPlayer4 Proxy Setting Not Work Issue
- [Solved] adb shell error: no devices/emulators found
- Android ADB command adb devices error: protocol fault (no status)
- Problems encountered by Android Studio: Session’app’: Error Installing APKs
- E / Art: failed sending reply to debugger: a solution to broken pipe
- Error: ADB prompts device unauthorized
- Reset power on password of lightning simulator
- Solve the problem that the connection between ADB and nocturnal God cannot be solved
- adb shell error: device offline [How to Solve]
- You must restart ADB and eclipse
- [Android test] solution for error closed after the carriage return of the ADB shell
- The ADB server port is changed to 10001, and appium cannot connect to the device
- After the eclipse Android virtual machine starts, an error will be reported: similar to SDK manager devices.xml Solution
- Android foundation error failed to install
- Thoroughly solve mysql error: 1030,’Got error 28 from storage engine’
- Writing to settings when appium of Xiaomi mobile phone and oppo mobile phone starts requires:android.permission.WRITE_ SECURE_ SETTINGS
- Android error: ADB port is occupied( adb.exe ,start-server’ failed — run manually if necessary)