Removing a database

To remove a database, you will need to execute abd shell. Once the adb shell is running use

  • ls to list the files in the directory. You should find the data directory listed.

Enter the following commands to find your applications database.

  • cd data/data
  • ls will display the list of providers
  • cd com.yourapp
  • cd databases
  • ls will display your apps database e.g. yourapp.db
  • rm yourapp.db and your database should now have been removed.
  • exit to exit the adb shell.

Comments are closed.