android.os.StrictMode$StrictModeDiskWriteViolation

policy=31 violation=1


Solutions on the web30

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

Solution icon of stackoverflow
policy=31 violation=1

Solution icon of web
via hatenablog.com by Unknown author, 3 months ago
policy=31 violation=1

Solution icon of web
via tutsplus.com by Unknown author, 3 months ago
policy=31 violation=1

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

Solution icon of stackoverflow
policy=31 violation=1

Solution icon of stackoverflow
via Stack Overflow by Kern
, 1 year ago
policy=17 violation=1

Solution icon of stackoverflow
via Stack Overflow by Joyson
, 1 year ago
policy=151 violation=1

Solution icon of stackoverflow
policy=151 violation=1

Stack trace

  • android.os.StrictMode$StrictModeDiskWriteViolation: policy=31 violation=1 at android.os.StrictMode$AndroidBlockGuardPolicy.onWriteToDisk(StrictMode.java:1109) at libcore.io.BlockGuardOs.ftruncate(BlockGuardOs.java:101) at java.io.RandomAccessFile.setLength(RandomAccessFile.java:626) at com.intel.android.gallery3d.common.BlobCache.setActiveVariables(BlobCache.java:286) at com.intel.android.gallery3d.common.BlobCache.loadIndex(BlobCache.java:275) 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

11 times, 1 year ago
2 times, 1 year ago
2 times, 1 year ago
5 times, 1 year ago
2 times, 1 year ago
19 more bugmates