Why does the SQLite 3 command using the Android AD

2019-04-29 07:59发布

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?

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

1条回答
叼着烟拽天下
2楼-- · 2019-04-29 08:26

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

查看更多
登录 后发表回答