注册

android 环信 报出的异常

E/SQLiteDatabase: Failed to open database '/storage/emulated/0/emlibs/libs/monitor.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 com.easemob.chat.core.s$a.openOrCreateDatabase(Unknown Source)
                                                                     at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:223)
                                                                     at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:163)
                                                                     at com.easemob.chat.core.s.a(Unknown Source)
                                                                     at com.easemob.chat.EMChatManager.saveAppname(Unknown Source)
                                                                     at com.easemob.chat.EMChatManager$1.onSuccess(Unknown Source)
                                                                     at com.easemob.chat.EMSessionManager.loginSync(Unknown Source)
                                                                     at com.easemob.chat.EMSessionManager.access$000(Unknown Source)
                                                                     at com.easemob.chat.EMSessionManager$1.run(Unknown Source)
已邀请:
恩 看看你这边的权限有没有拷贝完整
也可以试试把这个应用卸载下,然后在重新安装下了。
应该是SDK版本的问题,更新一下版本看看
楼主这个问题找到原因了吗

要回复问题请先登录注册