sqlite3的:未找到 [英] sqlite3: not found

查看:256
本文介绍了sqlite3的:未找到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想达到的SQLite数据库使用此处描述的过程我的设备上:的如何查看SQLite数据库(无仿真器)?

不过,我不断获取的sqlite3找不到。 我假设我为了与散列符号(#)在该行的开始输入命令。 我试着用它,什么都没有。 没有它,我得到的错误消息。

该sqlite3.exe文件肯定是存在的,并在路径中。

我一定要安装的东西?

解决方案

有些厂商提供的设备,无需sqlite的被安装在他们身上。您可以从模拟器虽然复制源码程序到您的设备,如果设备有ARM处理器。

  1. 启动模拟器,并使用亚洲开发银行平台工具在Android的SDK <命令/ P>

    亚行拉/系统/ XBIN / sqlite3的

  2. 安装设备的系统分区阅读本教程后/写:

    <一个href="http://android-tricks.blogspot.com/2009/01/mount-filesystem-read-write.html">http://android-tricks.blogspot.com/2009/01/mount-filesystem-read-write.html

  3. 使用了亚洲开发银行命令将sqlite3的文件复制到您的设备

    亚洲开发银行推动的sqlite3 /系统/ XBIN /

您重新启动设备后的 sqlite3的命令应该工作。

修改(副本链接的页面 - 的情况下,链路失效)。用于步骤2中的说明是:

  ADB壳
苏
安装邻RW,重新挂载-t YAFFS2的/ dev /块/ mtdblock3 /系统
 

  

替换为/ dev /块/ mtdblock3和放大器; /系统与适当的设备路径和安装点,从猫的/ proc /坐骑的获得了

I am trying to reach the sqlite database on my device using the procedure described here: How can i see SQLite Database (No emulator)?

However, I keep on getting sqlite3 not found. I assume I am meant to be entering the commands with the hash (#) sign at the start of the line. I tried with it and got nothing. Without it I get the error message.

The sqlite3.exe file is definitely there and in the path.

Do I have to install something?

解决方案

Some manufacturers deliver the devices without sqlite being installed on them. You can copy the sqlite program though from a emulator to your device if the device has an arm processor.

  1. Start the emulator and use the adb command from the platform-tools in android-sdk

    adb pull /system/xbin/sqlite3

  2. Mount the system partition of your device read/write after this tutorial:

    http://android-tricks.blogspot.com/2009/01/mount-filesystem-read-write.html

  3. Use the adb command to copy the sqlite3 file to your device

    adb push sqlite3 /system/xbin/

After you reboot your device the sqlite3 command should work.

Edit (copy from linked page - in the case link becomes invalid). The instructions for step 2 are:

adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system

"Replace /dev/block/mtdblock3 & /system with appropriate device path and mount point, as obtained from cat /proc/mounts"

这篇关于sqlite3的:未找到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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