facebookarchive / stetho

Stetho is a debug bridge for Android applications, enabling the powerful Chrome Developer Tools and much more.
http://facebook.github.io/stetho/
MIT License
12.66k stars 1.13k forks source link

No matching handler? #606

Closed emitchel closed 5 years ago

emitchel commented 6 years ago

I've been using Stetho for a while now on various projects, using 1.5.0

When I open up dev tools on chrome while the app is running, Logcat spews out the following message and doesn't show up as a device on //inspect W/stetho: I/O error: java.io.IOException: No matching handler, firstByte=71

2-3 times a second

Seems unique considering I haven't found any threads related to this message

huww98 commented 5 years ago

I got the same error. After some inspection, I found this may because of the missing .enableWebKitInspector(Stetho.defaultInspectorModulesProvider(context)) line. see https://github.com/facebook/stetho#custom-dumpapp-plugins

emitchel commented 5 years ago

Ugh yup, thanks @huww98