- Add Stetho to your
app/build.gradle
dependencies:
dependencies {
// ...
// Cupboard
compile 'nl.qbusict:cupboard:2.1.4'
// Stetho
compile 'com.facebook.stetho:stetho:1.4.1'
}
- Create a class
AccessCatsApplication extends Application
and initialize Stetho in your onCreate() method:
public class AccessCatsApplication extends Application {
public void onCreate() {
super.onCreate();
Stetho.initializeWithDefaults(this);
}
}
Add the AccessCatsApplication
class in your AndroidManifest.xml
file:
// ...
<application
android:allowBackup="true"
android:name=".AccessCatsApplication"
// ...
- Run your app, open Chrome and navigate to chrome://inspect . Click on your device name to inspect, then open the Resources panel. Use the menu on the left to navigate to your database file.