How to find and clear the SQLite db file in Android (emulator)

后端 未结 6 897
我寻月下人不归
我寻月下人不归 2021-02-01 23:17

I\'ve just got my first SQLite database up and running but to reproduce it I wanted a quick way to clear the db file (so I can call my openOrCreateDatabase method a

6条回答
  •  悲&欢浪女
    2021-02-02 00:04

    To clear the Database file from Emulator:

    Go to DDMS, then go to file explorer then open data -> data -> urPackage-> urDatabase.

    Here you have your database, and you can delete it by: (selecting)Click the database that you want to delete and click minus "-" sign from top right.

提交回复
热议问题