Questions tagged [stetho]

Stetho is a debug bridge for Android applications

Stetho is a sophisticated debug bridge for Android applications. When enabled, developers have access to the Chrome Developer Tools feature natively part of the Chrome desktop browser.

Developers can also choose to enable the optional dumpapp tool which offers a powerful command-line interface to application internals.

73 questions
5
votes
3 answers

Stetho, not seen inspect link

As you see in the picture, inspect link is not seen. I did steps in this answer: https://stackoverflow.com/a/32173974/5118976 After I run application on the my phone but there is no inspect link. Why does this problem occur? How to solve?
Gürkan Çatak
  • 923
  • 1
  • 9
  • 17
4
votes
1 answer

No network requests shown in Chrome inspector on (ejected) react-native app using Stetho

After setting up a project following the React Native Quick Start guide, and doing yarn eject, I added Stetho to the project, following the debugging guide. I added a button in the example app with the following onPress method: test () { …
vekerdyb
  • 1,213
  • 12
  • 26
4
votes
1 answer

Glide - how to load multiple images in parallel?

I'm trying a simple test. MainActivity.java public class MainActivity extends AppCompatActivity { private static final int N = 20; private final List images = new ArrayList<>(); @Override protected void onCreate(Bundle…
Alexey
  • 2,980
  • 4
  • 30
  • 53
4
votes
1 answer

Duplicate "id" column with DBFlow tables and Stetho

I'm writing an application for Android using DBFlow as ORM library. So, here is one of my tables model: @Table(database = Database.class) public class Language extends BaseModel { @PrimaryKey(autoincrement = true) long id; @Column …
tehcpu
  • 934
  • 1
  • 11
  • 23
4
votes
0 answers

How to implement Stetho for URLConnection in Volley?

So I recently learned about Stetho and would like to implement it to intercept network requests. However, I cannot find an example on how to do it for URLConnection: Here is a snippet of my VolleySingleton class. private RequestQueue…
Woppi
  • 5,303
  • 11
  • 57
  • 81
4
votes
1 answer

How to use Stetho with okhttp3 for network inspection?

I launched the app the Android emulator (Genymotion). Problem is I cannot inspect anything in Chrome Dev Tools (see screenshot below). Any tips ? Stetho Google Chrome Dev Tools in (address bar) This is what I see after entering this URL in…
charlesfranciscodev
  • 303
  • 1
  • 7
  • 17
3
votes
3 answers

Stetho is not working in chrome Version 89.0.4389.72 (Official Build) (x86_64)

Just getting blank screen for all(Network calls,Elements, Sources, timeline, Profiles, Resources, Audit, Console), is there any way to fix this???
3
votes
2 answers

NoClassDefFoundError: Failed resolution of: Lio/realm/internal/LinkView

I am using Realm. I installed Stetho-Realm to view realm data. This is what i have done. buildscript { ... repositories { google() jcenter() ... } dependencies { classpath…
Kook
  • 111
  • 7
3
votes
2 answers

How to write a Flutter (Android) plugin that uses a custom application?

I'm trying to write a plugin for stetho, following these steps. It requires some initialization in onCreate method of a custom application. public class MyApplication extends Application { public void onCreate() { super.onCreate(); …
Vilokan Labs
  • 1,975
  • 12
  • 21
3
votes
0 answers

Get CompositeException and SocketTimeoutException error unhanded when timeout in Okhttp3 (Android)

When I request data from the server, almost cases rxjava can catch timeout exception from okhttp3 at onError() in my rxjava chain, but sometimes the onError() cannot handle the timeout and my app crash with exceptions below: 02-05 06:27:35.432…
Vinh Nguyen
  • 610
  • 7
  • 16
3
votes
1 answer

Import library only for debugging

I am using stetho lib for debugging my app. Gradle: debugCompile 'com.facebook.stetho:stetho:1.4.1' debugCompile 'com.uphyca:stetho_realm:2.0.0' Application class: if (BuildConfig.DEBUG) { Stetho.initialize(..); } But if I need to create a…
Delphian
  • 1,650
  • 3
  • 15
  • 31
3
votes
0 answers

How to launch Chrome Dev Tools device "inspect" programmatically?

I'm working with Facebook's Stetho android plugin and everytime I make a change to my app, the debugger gets detached. Which means everytime I make a change, I have to click inspect, and move to the console tab. Does anyone know how to launch the…
3
votes
3 answers

Network Inspection in Stetho with Glide and okhttp3

how to Combine Glide and Stetho to debug image loading system using okhttp3 I did the following 1.Added the dependancies //stetho compile 'com.facebook.stetho:stetho:1.3.1' compile 'com.facebook.stetho:stetho-okhttp3:1.3.1' //glide compile…
Basheer AL-MOMANI
  • 14,473
  • 9
  • 96
  • 92
3
votes
2 answers

Stetho: Facebook Debug in Chrome Dev Tool Not Working

Trying to debug the Facebook Native Android application in Chrome Dev tools Inspect devices as FB native android app enables the debugging using Stetho see this…
Mohamed Hussain
  • 7,433
  • 14
  • 55
  • 85
3
votes
1 answer

Facebook Stetho: Nothing shown, D/ChromeDevtoolsServer﹕ Method not implemented: Not implemented: null

I am trying to use Facebook Stetho library in my application. As far as I know, I have done the setup: I have a custom Application class. I have a debug Application class that extends the aforementioned one and initializes Stetho. I have a debug…