You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
其实SQLiteOpenHelper.getWritableDatabase()这个方法的注释写得很清楚了:
Database upgrade may take a long time, you should not call this method from the application main thread, including from {@link android.content.ContentProvider#onCreate ContentProvider.onCreate()}.
飞哥把这个放到子线程里,然后做个同步操作吧
The text was updated successfully, but these errors were encountered:
其实SQLiteOpenHelper.getWritableDatabase()这个方法的注释写得很清楚了:
Database upgrade may take a long time, you should not call this method from the application main thread, including from {@link android.content.ContentProvider#onCreate ContentProvider.onCreate()}.
飞哥把这个放到子线程里,然后做个同步操作吧
The text was updated successfully, but these errors were encountered: