android.os.StrictMode$StrictModeDiskReadViolation: policy=31 violation=2


Solutions on the web106

Solution icon of stackoverflow
policy=31 violation=2

Solution icon of github
via GitHub by Amaluki
, 1 year ago
policy=31 violation=2

Solution icon of github
via GitHub by eosrei
, 1 year ago
policy=31 violation=2

Solution icon of github
via GitHub by NateZh
, 3 weeks ago
policy=31 violation=2

Solution icon of github
via GitHub by carnager
, 1 year ago
policy=31 violation=2

Solution icon of stackoverflow
policy=31 violation=2

Solution icon of stackoverflow
via Stack Overflow by Unknown author, 1 year ago
policy=31 violation=2

Solution icon of web
policy=31 violation=2

Solution icon of web
policy=31 violation=2

Solution icon of web
policy=31 violation=2

Stack trace

android.os.StrictMode$StrictModeDiskReadViolation: policy=31 violation=2
	at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:1135)
	at libcore.io.BlockGuardOs.read(BlockGuardOs.java:148)
	at libcore.io.IoBridge.read(IoBridge.java:425)
	at java.io.RandomAccessFile.read(RandomAccessFile.java:287)
	at java.io.RandomAccessFile.read(RandomAccessFile.java:270)
	at com.intel.android.gallery3d.common.BlobCache.loadIndex(BlobCache.java:260)
	at com.intel.android.gallery3d.common.BlobCache.<init>(BlobCache.java:144)
	at com.intel.android.gallery3d.util.CacheManager.getCache(CacheManager.java:56)
	at com.intel.android.gallery3d.app.Bookmarker.getBookmark(Bookmarker.java:64)
	at com.intel.android.gallery3d.app.MoviePlayer.initPlayer(MoviePlayer.java:281)
	at com.intel.android.gallery3d.app.MoviePlayer.<init>(MoviePlayer.java:142)
	at com.intel.android.gallery3d.app.MovieActivity$1.<init>(MovieActivity.java:91)
	at com.intel.android.gallery3d.app.MovieActivity.onCreate(MovieActivity.java:90)
	at android.app.Activity.performCreate(Activity.java:5231)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2188)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2273)
	at android.app.ActivityThread.access$800(ActivityThread.java:138)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1236)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:149)
	at android.app.ActivityThread.main(ActivityThread.java:5045)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:515)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:794)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:610)
	at dalvik.system.NativeStart.main(Native Method)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

3 times, 3 months ago
2 times, 1 year ago
6 times, 1 year ago
Once, 1 year ago
60 times, 1 month ago
48 more bugmates