Debug the Android SQLite in Andr
2018-08-07 本文已影响0人
sabrinachen321
Use the open source lib: debug-db
1. Add "debugCompile 'com.amitshekhar.android:debug-db:1.0.0'" in the module's build.gradle file.
2. Make sure that the computer and the Android device are in the same network.
3. Check for "D/DebugDB: Open http://XXX.XXX.X.XXX:8080 in your browser" in the logcat after starting the test app.
4. Open "http://XXX.XXX.X.XXX:8080" in the browser.