JAVA/문제해결

[android] No such table android_metadata 해결방법

zammanza 2013. 4. 7. 21:44

It was totally different problem which I was getting only in few devices like HTC Nexus ONE device and it was working in all OS and all other devices.

When we create database we get a table generated automatically named "android_table", I deleted that table and recreated that manually in my SQLite manager. via below two steps of query:

CREATE TABLE "android_metadata" ("locale" TEXT DEFAULT 'ko_KR')

and

INSERT INTO "android_metadata" VALUES ('ko_KR')

And after this step when I run the code, I got the surprise before Christmas. My application is working fine now.

All credit goes to my long R & D and this link which I got after so much efforts: