unknown error (Sqlite code 14): Could not open database, (OS error - 13:Permission denied)

10-11 11:16:13.571 1725-451/? E/SQLiteDatabase: Failed to open database '/storage/emulated/0/amap/openamaplocationsdk/als.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:219)
                                                    at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:203)
                                                    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: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:782)
                                                    at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:775)
                                                    at com.loc.ai$a.openOrCreateDatabase(DB.java)
                                                    at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:235)
                                                    at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:175)
                                                    at com.loc.ad.b(DBOperation.java)
                                                    at com.loc.ad.a(DBOperation.java)
                                                    at com.loc.ad.a(DBOperation.java)
                                                    at com.loc.ad.a(DBOperation.java)
                                                    at com.loc.f$1.run(LastLocationManager.java)
                                                    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
                                                    at java.util.concurrent.FutureTask.run(FutureTask.java:237)
                                                    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
                                                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
                                                    at java.lang.Thread.run(Thread.java:776)

你可能感兴趣的:(Android)