"Not a Central Directory record. Signature: 0x"
530l opened this issue · 0 comments
530l commented
//12-05 15:21:38.977 W/System.err(15494): com.android.apksig.apk.ApkFormatException: Malformed ZIP Central Directory record #1 at file offset 4294967295
//12-05 15:21:38.982 W/System.err(15494): at com.android.apksig.ApkSigner.parseZipCentralDirectory(ApkSigner.java:879)
//12-05 15:21:38.982 W/System.err(15494): at com.android.apksig.ApkSigner.sign(ApkSigner.java:268)
//12-05 15:21:38.983 W/System.err(15494): at com.android.apksig.ApkSigner.sign(ApkSigner.java:223)
//12-05 15:21:38.983 W/System.err(15494): at com.android.apksigner.ApkSignerTool.sign(ApkSignerTool.java:395)
//12-05 15:21:38.983 W/System.err(15494): at com.android.apksigner.ApkSignerTool.main(ApkSignerTool.java:92)
//12-05 15:21:38.983 W/System.err(15494): at com.xiaoji.gamesirnsemulator.ui.pack.PackService.signApkUsingAndroidApksigner(PackService.kt:318)
//12-05 15:21:38.983 W/System.err(15494): at com.xiaoji.gamesirnsemulator.ui.pack.PackService.signApk(PackService.kt:244)
//12-05 15:21:38.983 W/System.err(15494): at com.xiaoji.gamesirnsemulator.ui.pack.PackService.access$signApk(PackService.kt:17)
//12-05 15:21:38.983 W/System.err(15494): at com.xiaoji.gamesirnsemulator.ui.pack.PackService$repackBaseApk$1$3.invokeSuspend(PackService.kt:190)
//12-05 15:21:38.983 W/System.err(15494): at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
//12-05 15:21:38.983 W/System.err(15494): at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
//12-05 15:21:38.983 W/System.err(15494): at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
//12-05 15:21:38.983 W/System.err(15494): at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
//12-05 15:21:38.983 W/System.err(15494): at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
//12-05 15:21:38.983 W/System.err(15494): at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:749)
//12-05 15:21:38.983 W/System.err(15494): at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
//12-05 15:21:38.983 W/System.err(15494): at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
//12-05 15:21:38.984 W/System.err(15494): Caused by: com.android.apksig.zip.ZipFormatException: Not a Central Directory record. Signature: 0xffffcd37
//12-05 15:21:38.984 W/System.err(15494): at com.android.apksig.internal.zip.CentralDirectoryRecord.getRecord(CentralDirectoryRecord.java:143)
//12-05 15:21:38.984 W/System.err(15494): at com.android.apksig.ApkSigner.parseZipCentralDirectory(ApkSigner.java:877)
//12-05 15:21:38.984 W/System.err(15494): ... 16 more
大佬,问下,1-2G的app压缩签名,没问题,16GApp压缩签名报了这个。是不能超过33639248吗