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

删除数据造成ANR #728

Open
archerLj opened this issue Aug 9, 2021 · 2 comments
Open

删除数据造成ANR #728

archerLj opened this issue Aug 9, 2021 · 2 comments

Comments

@archerLj
Copy link

archerLj commented Aug 9, 2021

迄今为止,只发生过这一次,数据库在正常删删数据的时候ANR了:

android.database.sqlite.SQLiteConnection.nativeExecuteForChangedRowCount(Native Method)
android.database.sqlite.SQLiteConnection.executeForChangedRowCount(SQLiteConnection.java:734)
android.database.sqlite.SQLiteSession.executeForChangedRowCount(SQLiteSession.java:754)
android.database.sqlite.SQLiteStatement.executeUpdateDelete(SQLiteStatement.java:64)
org.xutils.db.DbManagerImpl.executeUpdateDelete(DbManagerImpl.java:505)
org.xutils.db.DbManagerImpl.delete(DbManagerImpl.java:275)

只是执行了一个简单的delete删除语句,只有一个where条件,没有多线程操作,软件上线2年多第一次出现这种问题。

xutils版本号:3.5.0
Android版本:5.1.1

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

2 participants
@archerLj and others