Android adb command adb devices appears Error:protocol fault (no status)

Source: Internet
Author: User

Issue background: Install apk is reported error:protocol fault<no status> or Error:device not found phone driver has a problem

The following problems occur:

Solution One,

Windows:

Task Manager, see the ADB process, shut down, and then restart ADB start-server.

Linux (my machine is Ubuntu system)

Execute command
Gnome-system-monitor

Open the Task Manager and turn off the ADB.

Solution Two:

1, after starting the simulator,
2. Enter the cmd command and enter the CD D:\Android\sdk\platform-tools directory (note: The actual situation, here must enter the ADB storage directory)
D:\ANDROID\SDK\PLATFORM-TOOLS>ADB Kill-server #关闭服务
D:\ANDROID\SDK\PLATFORM-TOOLS>ADB Start-server #重启服务
Note: Check the information on the Internet to find the cause of this problem: the simulator idle for a period of time, there will be an exception.

Solution Three:
Try again with a different phone.

My problem is because the phone driver installation failed, there may be a problem with the data line, but the strange is not affect my appium use

Android adb command adb devices appears Error:protocol fault (no status)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.