简体   繁体   中英

how can i solve an error that “cd: can't cd to /data/data/package_name/databases”

Hello guys i need your help.I am working on project that can store a record of incoming messages using sqlite but when i tried to open my sqlite database it gives me such error . Please help me .. 在此输入图像描述

If you want to access the file on a real device you have to do:

>adb shell
>run-as com.deepak.report

and then,

> cd databases

But sqlite3 is not available on real devices, you should use emulators.

if ur using eclipse u can download this plugin just a copy paste of a .jar file Just go through this Link follow instructions and see database in emulator DDMS of Eclipse.

Normally Database stored in //data/data/<Your-Application-Package-Name>/databases/<your-database-name> folder of the Android Device.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM