sqlite3的Andr​​oid上的失败:语法错误:意外"(" [英] sqlite3 on Android fails with: syntax error: unexpected "("

查看:178
本文介绍了sqlite3的Andr​​oid上的失败:语法错误:意外"("的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我推sqlite3的(从我的Andr​​oid SDK工具文件夹),以我的根深蒂固的设备(的Galaxy S III,4.0.3 ),因为它并不在那里。

I pushed sqlite3 (from my Android SDK tools folder) to my rooted device (Galaxy S III, 4.0.3), since it wasn't on there.

但是,在执行任何查询失败,错误,甚至只是叫的sqlite3 '孤单。

But executing any query fails with an error, even just calling 'sqlite3' alone.

通过亚行外壳

~ # sqlite3
/system/xbin/sqlite3: line 1: syntax error: unexpected "("

~ # sqlite3 /data/system/accounts.db "delete from grants;"
/system/xbin/sqlite3: line 1: syntax error: unexpected "("

怎么了?

推荐答案

请参阅如果把各地sqlite3的报价在命令行上的工作原理:〜#sqlite3的

See if putting quotes around sqlite3 on the command line works: ~ # "sqlite3"

这篇关于sqlite3的Andr​​oid上的失败:语法错误:意外"("的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆