-5

Android Device is detecting in Android Studio but failing to install.

java.io.IOException: Broken pipe
Error while Installing APK
Takermania
  • 1,255
  • 2
  • 11
  • 19

1 Answers1

1

These issue seems to be that of the port, do the following steps-

  • Restart your Android Studio.
  • if it didn't solve the problem the port is used by some other app so restart the system or else kill port using a command if the problem still remains unsolved.

To kill the port, follow:

If you are using Linux try to kill the port using

fuser -k 8601/tcp

If you are using mac try to kill the port using

lsof -P | grep '8601' | awk '{print $2}' | xargs kill

Rahul Ahuja
  • 722
  • 8
  • 23