The connection pool for database '/data/data/....db' has been unable to grant a connection to thread

The connection pool for database '/data/data/....db' has been unable to grant a connection to thread 1 (main) with flags 0x5 for 30.002 seconds.


原来是因为在beginTransaction(); ..1....execSQL(sql); ...2...endTransaction(); 在2处又执行了查询数据库操作引起的。解决方法:.在endTransaction();后再执行查询操作。

你可能感兴趣的:(The connection pool for database '/data/data/....db' has been unable to grant a connection to thread)