E/Art: failed sending a reply to the debugger: the solution of the broken pipe
Explanation error:
E/ART: Failed to send reply to the debugger: the pipe is broken.
What is e/art?
Art is an IME of android (This is the bytecode interpreter on Android phones. E is just the record level of error.)
What is the send reply debugger?
Debugging on Android phone is to use “ADB” (Android debugging bridge). The ADB process runs on your development computer (your laptop or PC), and the daemons run on Android devices (i.e. emulators or mobile phones).
What is a damaged pipe?
Your development machine and Android device communicate like a client-server. The damaged pipeline indicates that the communication has become invalid. For example, the client (Android device) is trying to send a reply to the server (the ADB process running on the development machine), but the server has closed the socket.
How to fix it
First, make sure your application is built correctly by performing cleanup/rebuild
Then, if you use USB to debug and run the application on a real phone, you can usually solve the problem by unplugging the USB cable and then re-inserting it to reestablish the client/server connection.
If this doesn’t work, you can disconnect the USB cable (stop the emulator if necessary) and close the Android studio. This is usually enough to stop the ADB process. Then, when you open Android studio again, it will restart and reestablish the connection.
If this doesn’t work, you can try using the instructions to manually stop the ADB server in this issue. For example, you can try to open a command prompt or terminal, and then go to the SDK /platform-tools directory and enter:
the
adb kill-server
adb start-server
* daemon not running; starting now at tcp:5037
* daemon started successfully
When this appears, It’s done
Read More:
- [Solved] JAVA Mail Sent Error: Sending the email to the following server failed
- [Solved] Pycharm Failed to Upload: Upload to *** failed. Could not list the contents of folder “sftp
- IntelliJ idea error: e rror:java : invalid source distribution: 11 problem resolution
- Solution to javax.naming.noinitialcontextexception error
- Solution to the problem of using Alibaba gateway but unable to route successfully
- [Solved] Heroku Error: Web process failed to bind to $PORT within 60 seconds of launch
- How to Remove “Devtools failed to parse sourcemap” Warning
- How to Solve Swagger error: typeerror: failed to fetch
- How to Solve c3p0 error (Cause & Solution)
- [Solved] Web server failed to start. Port 8080 was already in use.
- Maven (http://repo1.maven.org/maven2/): Failed to transfer file and PKIX path building failed: sun.secu
- Android solution Java.util.concurrent.ExecutionException: com.Android.ide.common.process.ProcessException: exception
- [Solved] Project Startup Error: Redis health check failed:Unable to connect to localhost6379
- [Solved] Project Startup Error: Redis health check failed: Unable to connect to localhost6379
- Dubbo failed to register and consumer null pointer exception
- [Solved] Failed to bind properties under ‘spring.servlet.multipart.file-size-threshold‘ to
- [Solved] Tomcat Startup Error: A child container failed during start、LifecycleException: Failed to start component
- [Solved] Resource compilation failed (Failed to compile values resource file…
- SpringBoot Startup Error: Failed to start component [Connector[HTTP/1.1-8080]]
- Java uses class array to report error Exception in thread “main” java.lang.NullPointerException solution