gpt4 book ai didi

Android 应用程序崩溃并显示这样的日志

转载 作者:行者123 更新时间:2023-11-30 01:19:07 26 4
gpt4 key购买 nike

我遇到了崩溃,但日志中没有包含有用的信息。甚至报告jacoco的一些错误。我使用 jacoco 在我的 gradle 文件中生成单元测试报告。

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.

最佳答案

W/System.err(11837): java.io.FileNotFoundException:/jacoco.exec: 打开失败:EROFS(只读文件系统)

没有访问文件系统的权限。您可以尝试其他位置或检查 I/O 权限吗?

关于Android 应用程序崩溃并显示这样的日志,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37383954/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com