Start ⇒ All Programs ⇒ Accessories ⇒ Command Prompt
C:\> cd C:\Android\SDK\platform-tools\To find where your Android SDK is located, pick the following Android Studio options:
Tools ⇒ SDK ManagerThe location can be found on the top of the screen.
adb shell
” where adb
is Android Debug Bridge, a versatile command line tool that lets you communicate with an emulator instance or connected Android-powered device.
# sqlite3 /data/data/yourpackage/databases/yourdbnameFor my computer, the command is as follows:
# sqlite3 /data/data/com.example.wenchen.sqlitedemo/databases/applicationdata;where
yourpackage
:
My package is named com.example.wenchen.sqlitedemo
and
yourdbname
:
My database is named applicationdata
.
Error: unable to open database "applicationdata": unable to open database filecheck the Stackoverflow to solve it by adding two commands:
shell> adb root shell> adb root restarting adbd as root shell> adb shell
sqlite> .exit .exit # exit exit C:\Android\SDK\platform-tools>
The buyout deal was worth $9 billion to the company, so, really, it was an offer we couldn’t refuse. |