ormlite_config.txt 还需要吗?

Is ormlite_config.txt still needed?

不知何故(我不知道如何或为什么),生成了没有一列的 ormlite_config.txt。当我注意到它时,我生成了一个新的 ormlite_config.txt。但是当我打开我的应用程序时(使用新的配置文件),没有任何记录。

还需要ormlite_config.txt吗?旧的 Android 需要它吗?我有另一个有很多记录的应用程序,我不想丢失它们,但我想正确地编写我的应用程序。

ormlite_config.txt 是出于性能原因需要的,因为在旧的 Android OS 版本下注释性能不佳。在这里查看这个问题:

Why are annotations under Android such a performance issue (slow)?

如果您 运行 在新的操作系统上并且您的应用程序的性能似乎 "good enough" 没有它,那么答案是否定的,不需要它。