注册

环信3 在高版本安卓上申请数据库权限失败的问题

什么也不说   展露一手错误报告
/SQLiteDatabase: Failed to open database '/storage/emulated/0/emlibs/libs/monitor.db'.                                                                           android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (Sqlite code 14): Could not open database, (OS error - 13:Permission denied)
                                                                               at android.database.sqlite.SQLiteConnection.nativeOpen(Native Method)
                                                                               at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:223)
                                                                               at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:207)
                                                                               at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:511)
                                                                               at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:194)
                                                                               at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:183)
                                                                               at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:880)
                                                                               at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:864)
                                                                               at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:767)
                                                                               at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:790)
                                                                               at com.hyphenate.chat.a.d$a.openOrCreateDatabase(Unknown Source:8)
                                                                               at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:266)
                                                                               at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:206)
                                                                               at com.hyphenate.chat.a.d.a(Unknown Source:6)
                                                                               at com.hyphenate.chat.EMClient.saveAppname(Unknown Source:14)
                                                                               at com.hyphenate.chat.EMClient.onNewLogin(Unknown Source:58)
                                                                               at com.hyphenate.chat.EMClient$7.run(Unknown Source:182)
                                                                               at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
                                                                               at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
                                                                               at java.lang.Thread.run(Thread.java:784)
已邀请:
有没有知道怎么处理的小伙伴带一手?

要回复问题请先登录注册