In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article is about how to do sqlite3:not found when using adb shell command on Android. Xiaobian thinks it is quite practical, so share it with everyone for reference. Let's follow Xiaobian and have a look.
In Android development, when using the sqlite3 command under the adb shell to view and operate the SQLite database, we encountered the [ sqlite3 : not found] problem.
Online to find the cause of the problem-simulator or real machine in/system/xbin directory missing sqlite3 this file.
The solution is as follows:
(1) Make the/system folder readable
#adb shell
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
(2) Import the required sqlite3 files into the/system/xbin directory.
(You can create a new simulator, export sqlite3 from/system/xbin, you can get sqlite3 file; or export it from another machine with sqlite3 file)
# adb push sqlite3 /system/xbin
(3) Modify sqlite3 permissions
# chmod 4755 /system/xbin/sqlite3
(4) Set/system as read-only file
# mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system
(5) At this point, you can use the sqlite3 command to manipulate SQLite databases.
Thank you for reading! About "Android use adb shell command when sqlite3:not found problem how to do" This article is shared here, I hope the above content can be of some help to everyone, so that we can learn more knowledge, if you think the article is good, you can share it to let more people see it!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.