为什么使用 Android ADB shell 的 SQLite 3 命令返回“权限被拒绝”?
具体来说,我尝试将 sqlite3
命令与 ADB shell 结合使用,对我正在构建的 Android 应用程序的数据库运行一些查询。
我不断收到“sqlite3:权限被拒绝”。我正在从 Google 购买的 Nexus One 上进行开发。我的手机需要root吗?
$ sqlite3 /data/data/com.moodme.android/databases/moodme.db
sqlite3 /data/data/com.moodme.android/databases/moodme.db
sqlite3: permission denied
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
文件被读保护。您需要root手机或使用模拟器。
The files are read protected. You need to root your phone or use the emulator.