Set the client instance, preferably in Application.onCreate()
:
if (BuildConfig.DEBUG) {
FuelManager.instance.client = FuelStethoClient()
}
build.gradle
needs to be extended as well:
dependencies {
compile 'com.facebook.stetho:stetho:1.4.2'
compile 'com.facebook.stetho:stetho-urlconnection:1.4.2'
}
- The call to
StethoURLConnectionManager.httpExchangeFailed()
is missing.