Can't delete database file from file explorer

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

Can't delete database file from file explorer

Postby saranya » Fri Jul 30, 2010 1:00 pm

When I select the database file in application package in file explorer, device will disappear. And whole content like data ,sdcard, system will disappear.Why this is happening?Please help me to resolve this problem.

Thanks in advance,
Sara
saranya
Developer
Developer
 
Posts: 48
Joined: Wed Oct 22, 2008 8:06 am

Top

Re: Can't delete database file from file explorer

Postby Chrystian » Mon Aug 02, 2010 12:36 am

Try removing the DB from the handset/emulator by uninstalling the application via Manage Application.

Also:

adb -s emulator-5554 shell
cd /data/data/<packagename>/databases/

After that command you should see a list of the databases. To remove a database use the command rm
--
Chrystian Vieyra
Chrystian
Junior Developer
Junior Developer
 
Posts: 18
Joined: Mon Jul 12, 2010 2:58 am

Re: Can't delete database file from file explorer

Postby saranya » Wed Oct 13, 2010 8:11 am

Thanks for your reply. I tried it and it's working fine for me.:-)

By
Saran
saranya
Developer
Developer
 
Posts: 48
Joined: Wed Oct 22, 2008 8:06 am

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 7 guests