更新时间:2022-10-15 11:28:47
在读取文件的保护,你需要以root您的手机或使用仿真器。
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 Nexus One that I purchased from Google. Does my phone need to be rooted or something? Thanks in advance.
$ 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.