Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove database from emulator?

Tags:

android

sqlite

I have the database times in my application running on the emulator and want to remove it. Is there any sqlite query I can run via shell or another method?

like image 823
Somk Avatar asked May 10 '11 19:05

Somk


People also ask

How do I delete emulator files?

Deleting an emulator In Android Studio, open the AVD Manager from “Tools” → “AVD Manager”, where you'd normally launch an emulator. In the “Actions” column, click the arrow pointing down to open the menu for the emulator you want to delete. Select “Delete” and confirm in the dialog.

How do I destroy a SQLite database?

SQLite is an embedded database engine, so in order to drop a database you have to delete the file from the machine. This action will make the database no longer accessible.


1 Answers

Go to DDMS then go to file explorer then open data-->--->data--> then your package ---> then database and here you have your database and you can delete it by clicking minus "-" sign from top right.

like image 136
Sujit Avatar answered Sep 21 '22 07:09

Sujit