2016-05-23 6 views
0

Ich habe einen Absturz, aber das Protokoll enthielt keine nützlichen Informationen. Selbst etwas falsch mit Jacoco melden. Ich benutze jacoco, um einen Einheitentestbericht in meiner Gradle-Datei zu erzeugen.Android App Absturz mit dem Protokoll wie folgt

D/SystemAdController(1395): Package:com.miui.home is not in the list 
D/SystemAdController(1395): requestSplashScreen duration:0 
I/ActivityManager(1116): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000000 cmp=com.miui.home/.launcher.Launcher} from pid 11837 
W/System.err(11837): java.io.FileNotFoundException: /jacoco.exec: open failed: EROFS (Read-only file system) 
W/System.err(11837): at libcore.io.IoBridge.open(IoBridge.java:409) 
W/System.err(11837): at java.io.FileOutputStream.<init>(FileOutputStream.java:88) 
W/System.err(11837): at org.jacoco.agent.rt.internal_773e439.output.FileOutput.openFile(FileOutput.java:67) 
W/System.err(11837): at org.jacoco.agent.rt.internal_773e439.output.FileOutput.writeExecutionData(FileOutput.java:53) 
W/System.err(11837): at org.jacoco.agent.rt.internal_773e439.Agent.shutdown(Agent.java:137) 
W/System.err(11837): at org.jacoco.agent.rt.internal_773e439.Agent$1.run(Agent.java:54) 
W/System.err(11837): Caused by: libcore.io.ErrnoException: open failed: EROFS (Read-only file system) 
W/System.err(11837): at libcore.io.Posix.open(Native Method) 
W/System.err(11837): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110) 
W/System.err(11837): at libcore.io.IoBridge.open(IoBridge.java:393) 
W/System.err(11837): ... 5 more 
I/AndroidRuntime(11837): VM exiting with result code 0, cleanup skipped. 
I/AudioFlinger( 271): setAppName(), name=[system_server], active=[0] 
W/InputDispatcher(1116): channel '438b8700 com.myapp.hch.my/com.myapp.hch.my.library.app.home.controller.MainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9 
E/InputDispatcher(1116): channel '438b8700 com.myapp.hch.my/com.myapp.hch.my.library.app.home.controller.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed! 
D/dalvikvm(1116): GC_FOR_ALLOC freed 2033K, 24% free 27211K/35516K, paused 86ms, total 86ms 
I/dalvikvm-heap(1116): Grow heap (frag case) to 36.162MB for 1637776-byte allocation 
D/baidu_location_service(6578): baidu location service stop ... 
W/InputDispatcher(1116): Attempted to unregister already unregistered input channel '438b8700 com.myapp.hch.my/com.myapp.hch.my.library.app.home.controller.MainActivity (server)' 
I/ActivityManager(1116): Process com.myapp.hch.my (pid 11837) has died. 
+0

Bitte fügen Sie Ihren Code zum Posten hinzu. – EliaszKubala

+0

Es tut mir so leid, aber ich kann nicht herausfinden, wo das Problem liegt. Ich weiß also nicht, welchen Codeabschnitt ich posten sollte. Es gibt keinen Code-Aufruf org.jacoco.agent – shaotine

Antwort

0

W/System.err (11837): java.io.FileNotFoundException: /jacoco.exec: Öffnen fehlgeschlagen: EROFS (Read-only-Dateisystem)

keine Zugriffsrechte auf das Dateisystem. Können Sie einen anderen Standort ausprobieren oder die E/A-Berechtigung prüfen?

+0

Aber in meinem Code, den ich nicht verwendet habe, überprüfen Sie den jacoco-Dateipfad. Ich konfiguriere nur jacoco in meiner Gradle-Datei – shaotine

Verwandte Themen