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 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 Database Debugger.
- Download the latest JARs or grab via Gradle:
implementation 'com.github.godwinjoseph-wisilica:debugger:1.0.1'
or Maven:
<dependency>
<groupId>com.github.godwinjoseph-wisilica</groupId>
<artifactId>debugger</artifactId>
<version>1.0.1</version>
<type>pom</type>
</dependency>
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>