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

Two SQLite Exception happened. #62

Open
Tan-Tshunglee opened this issue Mar 26, 2019 · 2 comments
Open

Two SQLite Exception happened. #62

Tan-Tshunglee opened this issue Mar 26, 2019 · 2 comments

Comments

@Tan-Tshunglee
Copy link

I use this library to help migrating greendao DB tables in Application onCreate() method.

java.lang.RuntimeException:Unable to create application my.app.pakcage: android.database.sqlite.SQLiteException: Failed to change locale for db '/data/data/my.app.pakcage/databases/addressDb' to 'zh_CN'.

java.lang.RuntimeException:Unable to create application my.app.pakcage: android.database.sqlite.SQLiteException: table "COMPANY_PHOTO_DB_BEAN" already exists (code 1)

java.lang.RuntimeException:Unable to create application my.app.pakcage: android.database.sqlite.SQLiteException: Failed to change locale for db '/data/data/my.app.pakcage/databases/addressDb' to 'zh_CN'.

java.lang.RuntimeException:Unable to create application my.app.pakcage: android.database.sqlite.SQLiteException: table "COMPANY_PHOTO_DB_BEAN" already exists (code 1)

@WangStormstout
Copy link

请问如何解决。

@woodstream
Copy link

Failed to change locale for db '/data/data/my.app.pakcage/databases/addressDb' to 'zh_CN'.

How do you fix it?

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

3 participants