Closed Lost-Entrepreneur439 closed 1 month ago
0-11 05:10:36.864 4726 4726 E Ty : java.lang.NoSuchMethodError: No virtual method getLastAccessTime()Ljava/nio/file/attribute/FileTime; in class La/iy; or its super classes (declaration of 'a.iy' appears in /data/app/com.topjohnwu.magisk-1/base.apk)
I decided to test, and have also verified this issue isn't present in 27.0, I can install modules fine in 27.
Yes, I also faced the same problem with the latest version of Magisk 28 as the Magisk application closes immediately when trying to install any module... and the only way to install the module is to flash it through twrp.!
Post FULL LOG with DEBUG version magisk
java.lang.NoSuchMethodError: No virtual method getLastAccessTime()Ljava/nio/file/attribute/FileTime; in class Lorg/apache/commons/compress/archivers/zip/ZipArchiveEntry; or its super classes (declaration of 'org.apache.commons.compress.archivers.zip.ZipArchiveEntry' appears in /data/app/com.topjohnwu.magisk-1/base.apk:classes16.dex)
at org.apache.commons.compress.archivers.zip.ZipArchiveEntry$$ExternalSyntheticAPIConversion1.m(D8$$SyntheticClass:0)
at org.apache.commons.compress.archivers.zip.ZipArchiveEntry.requiresExtraTimeFields(ZipArchiveEntry.java:1158)
at org.apache.commons.compress.archivers.zip.ZipArchiveEntry.setExtraTimeFields(ZipArchiveEntry.java:1309)
at org.apache.commons.compress.archivers.zip.ZipArchiveEntry.setTime(ZipArchiveEntry.java:1472)
at org.apache.commons.compress.archivers.zip.ZipFile.readCentralDirectoryEntry(ZipFile.java:1430)
at org.apache.commons.compress.archivers.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:1286)
at org.apache.commons.compress.archivers.zip.ZipFile.<init>(ZipFile.java:865)
at org.apache.commons.compress.archivers.zip.ZipFile.<init>(ZipFile.java:89)
at org.apache.commons.compress.archivers.zip.ZipFile$Builder.get(ZipFile.java:163)
at com.topjohnwu.magisk.core.utils.ZipUtilsKt.unzip(ZipUtils.kt:13)
at com.topjohnwu.magisk.core.tasks.FlashZip.flash(FlashZip.kt:51)
at com.topjohnwu.magisk.core.tasks.FlashZip.access$flash(FlashZip.kt:19)
at com.topjohnwu.magisk.core.tasks.FlashZip$exec$2.invokeSuspend(FlashZip.kt:72)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@ba20a5d, Dispatchers.Main.immediate]
Trying to install any module causes Magisk to crash on "Copying zip to temporary directory". Magisk was installed via patching boot.img and flashing the patched img with Fastboot. Device is on SDK 24 (Android 7.0).
Attached txt is the logcat when trying to install a module. logcat.txt
Device: RCA Voyager III Android version: 7.0 Magisk version name: v28.0 Magisk version code: 28001