DroidPluginTeam / DroidPluginTeam/DroidPlugin
SQLiteDatabase未做IO重定向,若插件使用常量方式会崩“/data/data/com.myplugin”方式
- Dominant language
- Java
- Stars
- 7k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
06-26 21:35:12.957 2167-2201/com.example.TestPlugin:PluginP04 E/SQLiteDatabase: Failed to open database '/data/data/com.test.test/databases/cc/cc.db'.
android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database
at android.database.sqlite.SQLiteConnection.nativeOpen(Native Method)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:207)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:191)
at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:463)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:185)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:177)
at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:806)
at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:791)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:694)
at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:717)
at u.aly.e.openOrCreateDatabase(UMCCPathDatabaseContext.java:44)
at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:223)
at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:163)
at u.aly.c.b(UMCCDBHelper.java:56)
at u.aly.c.(UMCCDBHelper.java:51)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.