我是Android新手。
我创建了Reminder / Alarm Android应用程序。
我曾尝试在Android工作室中禁用“即时运行”但不起作用。
当我的应用仅在设备上关闭时,我遇到此问题。 当我的应用程序在设备上运行时,我不会遇到此问题。
我阅读了以下所有链接,但没有为我的问题找到任何解决方案。 ClassLoader reference unknown
我面对的是堆栈跟踪:
W/System: ClassLoader referenced unknown path: /data/app/com.myApp-1/lib/arm64
W/System.err: java.io.FileNotFoundException: /jacoco.exec: open failed: EROFS (Read-only file system)
W/System.err: at libcore.io.IoBridge.open(IoBridge.java:452)
W/System.err: at java.io.FileOutputStream.<init>(FileOutputStream.java:87)
W/System.err: at org.jacoco.agent.rt.internal_8ff85ea.output.FileOutput.openFile(FileOutput.java:67)
W/System.err: at org.jacoco.agent.rt.internal_8ff85ea.output.FileOutput.startup(FileOutput.java:49)
W/System.err: at org.jacoco.agent.rt.internal_8ff85ea.Agent.startup(Agent.java:122)
W/System.err: at org.jacoco.agent.rt.internal_8ff85ea.Agent.getInstance(Agent.java:50)
W/System.err: at org.jacoco.agent.rt.internal_8ff85ea.Offline.<clinit>(Offline.java:31)
W/System.err: at com.myApp.MyApplication.$jacocoInit(MyApplication.kt)
W/System.err: at com.myApp.MyApplication.<clinit>(MyApplication.kt)
W/System.err: at java.lang.Class.newInstance(Native Method)
W/System.err: at android.app.Instrumentation.newApplication(Instrumentation.java:997)
W/System.err: at android.app.Instrumentation.newApplication(Instrumentation.java:982)
W/System.err: at android.app.LoadedApk.makeApplication(LoadedApk.java:575)
W/System.err: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4699)
W/System.err: at android.app.ActivityThread.access$1600(ActivityThread.java:153)
W/System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1412)
W/System.err: at android.os.Handler.dispatchMessage(Handler.java:102)
W/System.err: at android.os.Looper.loop(Looper.java:148)
W/System.err: at android.app.ActivityThread.main(ActivityThread.java:5441)
W/System.err: at java.lang.reflect.Method.invoke(Native Method)
W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:738)
W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:628)
W/System.err: Caused by: android.system.ErrnoException: open failed: EROFS (Read-only file system)
W/System.err: at libcore.io.Posix.open(Native Method)
W/System.err: at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
W/System.err: at libcore.io.IoBridge.open(IoBridge.java:438)
W/System.err: ... 21 more
I/MultiDex: VM with version 2.1.0 has multidex support
I/MultiDex: Installing application
I/MultiDex: VM has multidex support, MultiDex support library is disabled.
I/ReminderReceiver: Received intent: Intent { act=com.myApp.ACTION_SHOW_REMINDER dat=content://com.myApp/habit/1 flg=0x14 cmp=com.myApp/.receivers.ReminderReceiver (has extras) }
请建议我解决上述问题