/jacoco.exec: open failed: EROFS (Read-only file system)

Samebug tips1

Check if android.permission.WRITE_EXTERNAL_STORAGE is in AndroidManifest.xml. Also, add checks in your code to see if the storage is available to write before trying to write. And last: create a folder to put your files inside.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web313

  • Stack trace

    • /jacoco.exec: open failed: EROFS (Read-only file system) at at<init>( at org.jacoco.agent.rt.internal_14f7ee5.output.FileOutput.openFile( at org.jacoco.agent.rt.internal_14f7ee5.output.FileOutput.startup( at org.jacoco.agent.rt.internal_14f7ee5.Agent.startup( at org.jacoco.agent.rt.internal_14f7ee5.Agent.getInstance( at org.jacoco.agent.rt.internal_14f7ee5.Offline.<clinit>( at org.gearvrf.DefaultGVRTestActivity.$jacocoInit( at org.gearvrf.DefaultGVRTestActivity.<clinit>( at org.gearvrf.ActivityInstrumentationGVRf.setUp( at junit.framework.TestCase.runBare( at junit.framework.TestResult$1.protect( at junit.framework.TestResult.runProtected( at at at android.test.AndroidTestRunner.runTest( at android.test.AndroidTestRunner.runTest( at android.test.InstrumentationTestRunner.onStart( at$ Caused by: open failed: EROFS (Read-only file system) at Method) at at ... 18 more

    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

    Indri YunitaIndri Yunita
    4 times, last one
    8 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    43 more bugmates