工作了一段时间我的媒体播放器流光项目后,我得到了logcat的话说:最大缓存大小达到每一秒。它是正常的吗?我应该做点什么呢?这plauges我,我不得不重新启动我的模拟器来摆脱它。
08-17 17:34:28.772:信息/ prefetcher(34):最大缓存大小达到08-17 17:34:29.772:信息/ prefetcher(34):最大达到缓存大小08-17 17:34:30.772:信息/ prefetcher(34):最大达到缓存大小08-17 17:34:31.772:信息/ prefetcher(34):最大达到缓存大小08-17 17:34:32.775:信息/ prefetcher(34):最大达到缓存大小08-17 17:34:33.778:信息/ prefetcher(34):最大达到缓存大小08-17 17:34:34.779:信息/ prefetcher(34):最大达到缓存大小解决方案
我通过启用在模拟器上SD缓存partion固定它。
它通过在硬件框中添加高速缓存分区支持创建一个新的AVD(Android虚拟设备),然后完成。
After working a while with my Mediaplayer streamer project I got the Logcat saying: "Max cache size reached" every second. Is it normal? And should I do something about it? It plauges me and I have to restart my emulator to get rid of it.
08-17 17:34:28.772: INFO/Prefetcher(34): max cache size reached 08-17 17:34:29.772: INFO/Prefetcher(34): max cache size reached 08-17 17:34:30.772: INFO/Prefetcher(34): max cache size reached 08-17 17:34:31.772: INFO/Prefetcher(34): max cache size reached 08-17 17:34:32.775: INFO/Prefetcher(34): max cache size reached 08-17 17:34:33.778: INFO/Prefetcher(34): max cache size reached 08-17 17:34:34.779: INFO/Prefetcher(34): max cache size reached解决方案
I fixed it by enabling sd cache partion on the emulator.
It's done by Creating a new AVD (Android Virtual Device) and then in the Hardware box adding "Cache partition support".