我是一名新的Android程序员,请原谅我的知识和英语水平,因为英语不是我的母语。我在日志中看到了一个标签为“szipinf”、文本为“Initializing inflate state”的错误记录,但我不知道它的含义...我发现这个错误只会在我手机上测试游戏时出现,在模拟器上没有显示。如果有人能告诉我它的含义,我将不胜感激。
我是一名新的Android程序员,请原谅我的知识和英语水平,因为英语不是我的母语。我在日志中看到了一个标签为“szipinf”、文本为“Initializing inflate state”的错误记录,但我不知道它的含义...我发现这个错误只会在我手机上测试游戏时出现,在模拟器上没有显示。如果有人能告诉我它的含义,我将不胜感激。
让我们通过源代码搜索此消息,以查找打印日志的人。StreamingZipInflater.cpp
:
/*
* Streaming access to compressed data held in an mmapped region of memory
*/
StreamingZipInflater::StreamingZipInflater(FileMap* dataMap, size_t uncompSize) {
...
initInflateState();
}
void StreamingZipInflater::initInflateState() {
LOGV("Initializing inflate state");
...
}
_CompressedAsset
中,这是用于处理压缩文件的Asset
子类:/*
* Instances of this class provide read-only operations on a byte stream.
*
* Access may be optimized for streaming, random, or whole buffer modes. All
* operations are supported regardless of how the file was opened, but some
* things will be less efficient.
*
* "Asset" is the base class for all types of assets. The classes below
* provide most of the implementation. The AssetManager uses one of the
* static "create" functions defined here to create a new instance.
*/
static Asset* createFromCompressedFile(const char* fileName, AccessMode mode);
BitmapFactory
和其他地方找到此类的用法。