开发者

Why does the SQLite 3 command using the Android ADB shell return "permission denied"?

开发者 https://www.devze.com 2023-01-14 17:09 出处:网络
Specifically, I was trying to use the sqlite3 command with the ADB shell to run some queries on the database of the Android application I\'m building.

Specifically, I was trying to use the sqlite3 command with the ADB shell to run some queries on the database of the Android application I'm building.

I kept getting "sqlite3: permission denied". I'm developing on a Nex开发者_运维百科us One that I purchased from Google. Does my phone need to be rooted or something?

$ sqlite3 /data/data/com.moodme.android/databases/moodme.db
sqlite3 /data/data/com.moodme.android/databases/moodme.db
sqlite3: permission denied


The files are read protected. You need to root your phone or use the emulator.

0

精彩评论

暂无评论...
验证码 换一张
取 消