开发者

How to solve this problem? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot开发者_StackOverflow be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

06-15 00:26:25.709: ERROR/AndroidRuntime(26573): Caused by: android.database.sqlite.SQLiteException: no such table:

I m getting table not found error while running the application in emulator its working fine if i install the apk in the device its not working


The problem is because, sqlite databases and tables will not be shifted when you change environments. For example when you work on emulator, you could have created a sqlite table using Sqlite manager or some other application and inserted into the database folder of your app. But when you put the .apk file into the mobile, this table will not be shifted to your mobile. So better don't try to push a already created table into the device, instead try creating a new table.


I think you have to create a table in your SQLite Database. Then you can run your application.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜