Android Question can't find table

merlin2049er

Well-Known Member
Licensed User
Longtime User
Hmm, not sure why but a friend of mine with a samsung galaxy 3 is having difficulty running my app.
Other users haven't expressed any problems really.

This pops up right after my splash screen. (It fails trying to populate one of my spinners).

The only thing I can think of is, he's run out of external storage and the file isn't copied over (during the installation process)
 

Attachments

  • unnamed.png
    unnamed.png
    92 KB · Views: 197

LucaMs

Expert
Licensed User
Longtime User
Hmm, not sure why but a friend of mine with a samsung galaxy 3 is having difficulty running my app.
Other users haven't expressed any problems really.

This pops up right after my splash screen. (It fails trying to populate one of my spinners).

The only thing I can think of is, he's run out of external storage and the file isn't copied over (during the installation process)


No, that is not a "file not found" (db); it is an error found in a query SQL: it refers to a table named "category" that non exists in the db.
(and that query tries to select a field named Category too?)
 
Upvote 0

LucaMs

Expert
Licensed User
Longtime User
Surely that table does not exist in the db used at that time.
Maybe an old version of the db?

I happened to see something that looked like 2 + 2 = 5 in debug mode.
Thanks to the Windows Explorer, I had on hand a wrong version of a db; in the device certainly had the right one, but "importing" it using Explorer, it was an older version (will have been a matter of buffer).

http://www.b4x.com/android/forum/th...but-a-suggestion-about-sqlite-directly.35938/
 
Last edited:
Upvote 0

merlin2049er

Well-Known Member
Licensed User
Longtime User
I've have install to external storage as enabled. Maybe I should check to see if the file exists.

I've copied the file from assets to external. Where exactly might that be on the phone / tablet?
 
Upvote 0
Top