"Failed to send response to debugger: Broken pipe" when trying to run an application on an Android device

Trying to develop my first application and I am running some code on a Nexus 6. Android Studio tells me that I have no errors, but when I try to run the application on my phone, I only see a clean skin (i.e. just the name of the application in ActionBar and everything blank under it)

I checked the logcat and it said "Failed to send response to debugger: Broken pipe"

I tried looking for this error but didn't find anything that helped. Does anyone know what's going on?

+3


source to share


3 answers


Check the Compiler SDK version and the Emulator API version . If the compiler SDK version is higher than the API version, it will throw an error.



0


source


In gradle scripts you can check the compiler version.



In build.gradle (module app)

-2


source


Should you run into problems with the layouts you have implemented for your application, check the opacity of the border color you used.

I also had similar problems, but I fixed it with the correct location.

-2


source







All Articles