注册

集成环信数据库找不到

10-31 16:28:45.283 14992-15021/? E/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:217)
                                                       at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:201)
                                                       at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:493)
                                                       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:826)
                                                       at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:810)
                                                       at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:713)
                                                       at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:736)
                                                       at com.hyphenate.chat.a.d$a.openOrCreateDatabase(Unknown Source)
                                                       at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:235)
                                                       at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:175)
                                                       at com.hyphenate.chat.a.d.a(Unknown Source)
                                                       at com.hyphenate.chat.EMClient.saveAppname(Unknown Source)
                                                       at com.hyphenate.chat.EMClient.onNewLogin(Unknown Source)
                                                       at com.hyphenate.chat.EMClient$6.run(Unknown Source)
                                                       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
                                                       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
                                                       at java.lang.Thread.run(Thread.java:833)
10-31 16:28:45.294 14992-15021/? I/HwCust: Constructor found for class android.app.HwCustAlarmManagerImpl
10-31 16:28:45.298 14992-15030/? I/System.out: [cat, /sys/class/net/wlan0/address]
10-31 16:28:45.299 14992-15030/? I/System.out: null
10-31 16:28:45.299 14992-15030/? I/System.out: null
10-31 16:28:45.299 14992-15030/? I/System.out: Calling by::className:com.mob.tools.utils.DeviceHelper  MethodName:getHardwareAddressFromShell
10-31 16:28:45.299 1013-2017/? E/HsmCoreServiceImpl: onTransact in code is: 102
10-31 16:28:45.299 1013-2017/? I/MediaProcessHandler: processOp opType: 1, uid: 10012, pid: 14696
10-31 16:28:45.299 1013-2017/? W/MediaProcessHandler: remove target not exist, maybe the UI process: uid: 10012, pid: 14696
10-31 16:28:45.303 13631-15033/? I/System: core_booster, getBoosterConfig = false
10-31 16:28:45.338 13631-15033/? I/System: core_booster, getBoosterConfig = false
10-31 16:28:45.352 14992-15030/? I/System: core_booster, getBoosterConfig = false
10-31 16:28:45.362 14992-15028/? I/System.out: [cat, /sys/class/net/wlan0/address]
10-31 16:28:45.362 14992-15028/? I/System.out: null
10-31 16:28:45.362 14992-15028/? I/System.out: null
10-31 16:28:45.362 14992-15028/? I/System.out: Calling by::className:com.mob.tools.utils.DeviceHelper  MethodName:getHardwareAddressFromShell
10-31 16:28:45.366 1013-1390/? E/WifiConfigStore: updateConfiguration freq=2437 BSSID=00:b0:c6:13:04:a0 RSSI=-33 "IP-COM"WPA_PSK
已邀请:
6.0的手机系统需要在代码里去动态获取权限

要回复问题请先登录注册