litepal存储位置(\data\data目录)
参考来源(作者:郭霖):https://github.com/guolindev/LitePal
<?xml version="1.0" encoding="utf-8"?>
<!--存储位置-->
<dbname value="db"/>
<!--版本-->
<version value="4"/>
<!--表-->
<mapping class="包名.表文件路径.表名"/>
<!--数据库存储位置
1.直接去掉storage栏目,或者设置值为internal,位置:默认目录就是放在\data目录下,
(注: "internal" means the .db file will be stored in the database folder of internal storage which no one can access)
2.设置值为external,位置:内部存储\Android\data\你的项目包名\files\databasesandroid-->
(注:"external" means the .db file will be stored in the path to the directory on the primary external storage device where the application can place persistent files it owns which everyone can access. "internal" will act as default.)
3.设置值为例如:dbFile,位置:内存存储\dbFile
<!-- -->
<storage value="internal" />
</litepal>