SQLite crash?

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

SQLite crash?

Postby wizlon » Mon Jan 07, 2008 2:28 pm

Hi there. I've got a bit of a problem.

I've been directly writing to and reading from an SQLite db a-la the tutorial here (removed link as I need to have at least one post before I can use links) just fine, but after booting up my laptop today and firing up the emulator I couldn't access the database in my created app, or in the example. When I debugged the app it goes to open the database and it just exceptions (filenotfoundexception?).

I've tried restarting the emulator and it doesn't work. No other sql statements will execute (create db, delete db) It appears that sqlite has crashed... or something. Has anyone got any ideas to why this is happening?

Cheers.
wizlon
Junior Developer
Junior Developer
 
Posts: 23
Joined: Mon Jan 07, 2008 2:17 pm

Top

Postby plusminus » Mon Jan 07, 2008 4:17 pm

Hello wizlon,

hm, sounds really strange. Perhaps you hardly closed the emulator while it was handling a statement :?:...

if you have no data that you hope to get restored reset the emulator like :src: here.

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby wizlon » Mon Jan 07, 2008 4:18 pm

thanks plusminus, don't know what I would do without you.
wizlon
Junior Developer
Junior Developer
 
Posts: 23
Joined: Mon Jan 07, 2008 2:17 pm

Postby plusminus » Mon Jan 07, 2008 6:07 pm

Breathing I hope ;)
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby wizlon » Mon Jan 07, 2008 6:23 pm

in or out.....


... oh, I get it... both!
wizlon
Junior Developer
Junior Developer
 
Posts: 23
Joined: Mon Jan 07, 2008 2:17 pm

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 7 guests