Имея модуль библиотеки Android, в сборке отладки хотелось бы использовать stetho, бота нет в сборке релиза. Я думаю, это может добавить зависимость
debugCompile 'com.facebook.stetho:stetho:1.4.1'
debugCompile 'com.uphyca:stetho_realm:2.0.0'
or using
debugImplementation 'com.facebook.stetho:stetho:1.4.1'. // with latest version
debugImplementation 'com.uphyca:stetho_realm:2.0.0'
Вопрос в том, где код нужно взять StethoInterceptor
OkHttpClient.Builder()
.addNetworkInterceptor(StethoInterceptor())
.build()
как это компилируется в сборке релиза, что нет зависимости stetho?
if(BuildType.Debug) { add stetho }
- person Jeel Vankhede   schedule 29.06.2020.addNetworkInterceptor(StethoInterceptor())
- person lannyf   schedule 29.06.2020