When you need to debug database and shared prefrences in an android application, it is difficult to debug it.
Android Debug makes it easy to debug the databases
Add this to app’s build.gradle- debugCompile 'com.amitshekhar.android:debug-db:0.2.0'
You can get the debug address url from your logs or you can use method DebugDB.getAddressLog().
Most important, using debugCompile, only compile in your app in debug build and not in your release
You can open the debug url in browser
NOTE: Your phone and Pc should be connected to the same Network .
What can Android Debug library can do ?
- you can see all databases.
- you can shared preferences used in your application.
- you can run query to fetch ,update the data
- you can search for rows and data.
- you can Sort data.
Thanks.
0 Comment(s)