androidsqliteshelladbrooted-device

Why do I get a "sqlite3: not found" error on a rooted Nexus One when I try to open a database using the adb shell?


# sqlite3 /data/data/com.moodme.android/databases/moodme
sqlite3 /data/data/com.moodme.android/databases/moodme
sqlite3: not found

Solution

  • On the Android emulator, sqlite3 is in /system/xbin. There is no /system/xbin on a Nexus One (Android 2.2). Hence, I suspect that sqlite3 is not installed on the Nexus One.