1

在使用我的 Mediaplayer 流媒体项目一段时间后,我得到 Logcat 说:“达到最大缓存大小”每秒。正常吗?我应该对此做些什么吗?它困扰着我,我必须重新启动我的模拟器才能摆脱它。

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
4

1 回答 1

2

我通过在模拟器上启用 sd 缓存分区来修复它。

这是通过创建一个新的 AVD(Android 虚拟设备)然后在硬件框中添加“缓存分区支持”来完成的。

于 2010-08-20T15:14:19.320 回答