Skip to content

Instantly share code, notes, and snippets.

View ktweeden's full-sized avatar

Artemis Preston ktweeden

  • Edinburgh, Scotland
View GitHub Profile

Connecting to a SQLite database on an Android emulator

To access your database via the terminal, make sure that your emulator is running before doing the following:

  1. Get a list of your emulators by typing: ~/Library/Android/Sdk/platform-tools/adb devices

  2. Connect to the emulator you're running your app on: ~/Library/Android/Sdk/platform-tools/adb -s emulator-**** shell

(replace the **** with the correct number for your device, which you will have seen after running the previous command) You are now navigating the file structure of your emulator.

Keybase proof

I hereby claim:

  • I am ktweeden on github.
  • I am katelpreston (https://keybase.io/katelpreston) on keybase.
  • I have a public key ASDDOwa0TepD1FFzD3iFwO2PE7-kcFiPt1-I0ewZ_bq9Qwo

To claim this, I am signing this object: