Well, the error is pretty obvious. There is no table with that name. If you
have created the table, after your first installation, which didn't have
this table, try uninstalling and re-installing this app. Make sure, you
create all the tables that you need before you can start using them.

On Fri, Oct 15, 2010 at 5:06 AM, Albert <albert8...@googlemail.com> wrote:

> Hi all,
>
> I can see from some user's logs that my app randomly gets the
> following SQLiteException:
>
> android.database.sqlite.SQLiteException: no such table: DietTip: ,
> while compiling: SELECT DISTINCT tip FROM DietTip
>        at android.database.sqlite.SQLiteProgram.native_compile(Native
> Method)
>        at android.database.sqlite.SQLiteProgram.compile(SQLiteProgram.java:
> 117)
>        at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:
> 66)
>        at android.database.sqlite.SQLiteQuery.<init>(SQLiteQuery.java:
> 49)......
>
> It also happens often in another table that tracks the user's
> weight...
>
> Does anyone know a particular reason for this to be happening? It
> seems that it can't find the table or it can't compile the query. It
> has never happened to me in any of my phones.
>
> Thanks,
> Alberto
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to