Here's how to fix it:
1, if the/system directory is not read and write, you need to mount for read and write:
C:\USERS\EASTEQ>ADB Shell
[email protected]:/# Mount-o Remount,rw-t Yaffs2/dev/block/mtdblock3/system
2, the Sqlite3 file push to the device, sqlite3 can download it yourself (if needed, you can download it here: http://download.csdn.net/detail/xiaoyaovsxin/4969923):
[email protected]:/#exit
C:\USERS\EASTEQ>ADB Push F:\sqlite3_not_found\sqlite3/system/xbin
PS: If not, try the following methods
A, the previous save sqlite3 in the DDMS panel through the upper right corner of the phone icon (push a file onto the device) to push the file into the SDcard, exactly in the/mnt/sdcard
b, and then at the command line typing cat/mnt/sdcard/sqlite3 >/system/xbin/sqlite3 copy File
3, need to modify the permissions of Sqlite3:
C:\USERS\EASTEQ>ADB Shell
[email protected]:/# chmod 4755/system/xbin/sqlite3
4, the test of Sqlite3:
[email protected]:/#sqlite3
If the following prompt appears:
LINK_IMAGE[1957]: 2684 could not load needed library ' libncurses.so ' for ' sqlit
E3 ' (load_library[1112]: library ' libncurses.so ' not found) cannot LINK executabl
E
, you also need the push libncurses.so file,
The method is:
[email protected]:/#exit
C:\USERS\EASTEQ>ADB Push F:\sqlite3_not_found\libncurses.so/system/lib
2178 kb/s (185136 bytes in 0.083s)
Libncurses.so can also download it yourself.
5. Restore/system as read-only (optional)
[email protected]:/#mount-O remount,ro-t yaffs2/dev/block/mtdblock3/system
Go into your database:
[email protected]:/# Cd/data/data/com.test/databases
This will allow you to manipulate your database.
Android phone appears sqlite3 not found workaround