Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Phonegap/SQLite no such table errors for CacheGroups, Caches, Origins, and DeletedCacheResources

I have a PhoneGap application using SQLite. My database and tables generated from code are being initialized and created properly and the application is running queries fine against these tables.

Strangely, I'm seeing the following errors in LogCat when running the application:

SQLiteLog (1) no such table: CacheGroups
SQLiteLog (1) no such table: Caches
SQLiteLog (1) no such table: Origins
SQLiteLog (1) no such table: DeletedCacheResources

From what I understand these are native database tables used by SQLite, but aren't being generated. Any ideas how I can fix this?

like image 387
activelogic Avatar asked Aug 14 '13 21:08

activelogic


1 Answers

Some people have been able to solve the problem using the steps mentioned http://www.anddev.org/networking-database-problems-f29/missing-table-in-sqlite-with-specific-version-of-desire-hd-t50364.html. It seems to me that this problem exists on certain versions of Android 2.2. I have incorporated this change in my code, though I'm still looking for Beta testers with to see if it actually works.

like image 69
Swapnil Tandel Avatar answered Oct 06 '22 19:10

Swapnil Tandel