Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/212.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 已达到预取器最大缓存大小_Android_Caching_Logcat - Fatal编程技术网

Android 已达到预取器最大缓存大小

Android 已达到预取器最大缓存大小,android,caching,logcat,Android,Caching,Logcat,在完成Mediaplayer拖缆项目一段时间后,我得到的日志每秒钟都会显示:“已达到最大缓存大小”。这正常吗?我应该做点什么吗?这让我很恼火,我必须重新启动模拟器才能摆脱它 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

在完成Mediaplayer拖缆项目一段时间后,我得到的日志每秒钟都会显示:“已达到最大缓存大小”。这正常吗?我应该做点什么吗?这让我很恼火,我必须重新启动模拟器才能摆脱它

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

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

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