Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

自己编译打包出现Crash:数据库表找不到 #33

Open
langjun opened this issue Jun 24, 2016 · 0 comments
Open

自己编译打包出现Crash:数据库表找不到 #33

langjun opened this issue Jun 24, 2016 · 0 comments

Comments

@langjun
Copy link

langjun commented Jun 24, 2016

06-24 09:07:06.954 3288-3288/org.aisen.weibo.sina E/AndroidRuntime: FATAL EXCEPTION: main Process: org.aisen.weibo.sina, PID: 3288 java.lang.RuntimeException: Unable to start activity ComponentInfo{org.aisen.weibo.sina/org.aisen.weibo.sina.ui.activity.base.SplashActivity}: android.database.sqlite.SQLiteException: no such table: org_aisen_weibo_sina_support_bean_AccountBean (code 1): , while compiling: SELECT uid, accessToken, account, advancedToken, cookie, groups, password, unreadCount, user, $change, error, error_code, $change, endPaging, fromCache, outofdate, pagingIndex FROM org_aisen_weibo_sina_support_bean_AccountBean at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476) at android.app.ActivityThread.-wrap11(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5417) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) Caused by: android.database.sqlite.SQLiteException: no such table: org_aisen_weibo_sina_support_bean_AccountBean (code 1): , while compiling: SELECT uid, accessToken, account, advancedToken, cookie, groups, password, unreadCount, user, $change, error, error_code, $change, endPaging, fromCache, outofdate, pagingIndex FROM org_aisen_weibo_sina_support_bean_AccountBean at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method) at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:887) at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:498) at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:588) at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:58) at android.database.sqlite.SQLiteQuery.<init>(SQLiteQuery.java:37) at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:44) at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1316) at android.database.sqlite.SQLiteDatabase.queryWithFactory(SQLiteDatabase.java:1163) at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1034) at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1240) at org.aisen.android.component.orm.SqliteUtility.select(SqliteUtility.java:118) at org.aisen.android.component.orm.SqliteUtility.select(SqliteUtility.java:93) at org.aisen.weibo.sina.support.utils.AccountUtils.queryAccount(AccountUtils.java:25) at org.aisen.weibo.sina.ui.activity.base.SplashActivity.toLogin(SplashActivity.java:69) at org.aisen.weibo.sina.ui.activity.base.SplashActivity.onCreate(SplashActivity.java:35) at android.app.Activity.performCreate(Activity.java:6237) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)  at android.app.ActivityThread.-wrap11(ActivityThread.java)  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)  at android.os.Handler.dispatchMessage(Handler.java:102)  at android.os.Looper.loop(Looper.java:148)  at android.app.ActivityThread.main(ActivityThread.java:5417)  at java.lang.reflect.Method.invoke(Native Method)  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) 

@langjun langjun changed the title 启动崩溃,no such table 自己编译打包出现Crash:数据库表找不到 Jun 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant