Titanium: Where is the SQLite DB Stored?

我是研究僧i 提交于 2019-12-06 14:59:33

i thought it was something like

/Library/Application\ Support/iPhone\ Simulator/.../your.app.id/..

have a look. consider that there are two /Library-Folders (in root and in home). sorry for the unprecise answer.

All your projects folders are located here:

~/Library/Application\ Support/Titanium/appdata/

They are sorted by app ID. In each folder you'll find a Databases.db file which contents your DBs if the app has one.

/data/data/your.app.id/databases/

For android , the location is /data/data/your.app.id/databases/

Ordinary, you could not direct see the file, unless you got the root permission。

And, you can use adb series command to get the file to you develop computer, and analyze the db file on you desktop computer.

For iOS, best way to see the db file is run the app in you simulater. the db file usually store at location simalar as this

/Users/[your name]/Library/Application Support/iPhone Simulator/7.1/Applications/3CE12954-6C8A-48E1-BF71-CF483E01CBA1/Library/Private Documents

The path is at

~/Library/Developer/CoreSimulator/Devices/{DEVICEID}/data/Containers/Data/Application/{APP_WEIRD_ID}/Library/Private Documents/

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!