1

I initialized stetho with the following code

public class MyApplication extends Application {
    public void onCreate() {
        super.onCreate();
        Stetho.initializeWithDefaults(this);
    }
}

Now when I go to chrome://inspect it is showing empty View Hierarchy

enter image description here

However, I can check database in stetho debugger. enter image description here

So, everything else is working fine.

What am I missing here?

Ahmad Ismail
  • 11,636
  • 6
  • 52
  • 87

1 Answers1

1

I added android:name=".MyApplication" in the AndroidManifest.xml inside application tag.

It is now working.

<application
    ....
    android:name=".MyApplication"
    .....
</application>

enter image description here

Ahmad Ismail
  • 11,636
  • 6
  • 52
  • 87