Database Debugger is a debug bridge for Android applications. When enabled, developers have access to database of application within android studio. Without any support of other third party tools.
- File-> Settings-> Plugins
- Click Browse repositories
- Search Android Database Debugger
- Install and restart Android Studio
Or you can find the file from https://plugins.jetbrains.com/plugin/10766-database-debugger
Now you will see a tool window on right tool panel called Debugger.
- Download the latest JARs from Release folder and copy to lib folder of your app (create one if you dont have)
implementation fileTree(dir: 'lib', include: ['*.aar', '*.jar'], exclude: [])
Maven and Jcenter is on the way
Integration of Database Debugger is pretty straight forwart. There is a simple initialization step which occurs in your Application class:
public class MyApplication extends Application {
public void onCreate() {
super.onCreate();
Debugger.initialize(this);
}
}
Also ensure that your MyApplication Java class is registered in your AndroidManifest.xml file
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
...>
<application
android:name="MyApplication"
...>
</application>
</manifest>