mardi 22 décembre 2015

Android Studio sqlite Codes too large

I have an SQLite codes that worked until i reached 10,000 lines. Then it won't let me run the app. The error says "codes too large". I understand that it has a limit, I've googled it it says something about the 64k limit? Some suggest that i try importing it using text files, i have no idea how to do that. what should i do? please help :(

Here are my codes, 10,000 codes like that:

_db.execSQL("INSERT INTO " + DATABASE_TABLE + " (Desc, num, qty, book)" + " VALUES ('sample', 2, 25, 'Book1');");

Aucun commentaire:

Enregistrer un commentaire