RenPy中文空间

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 396|回复: 3

[已解决] APK打包失败

[复制链接]
发表于 2020-7-16 20:00:52 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
这个工程之前一直打包没问题 后来加了几个脚本 结果打包打不过去了
也不是内存的问题 这个错误代码我网上也没查到 特来求助



Ren'Py 7.3.5.606

Updating project.

Creating assets directory.

Packaging internal data.

I'm using Gradle to build the package.
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
:app:preBuild UP-TO-DATE
:renpyandroid:preBuild UP-TO-DATE
:renpyandroid:preReleaseBuild UP-TO-DATE
:renpyandroid:checkReleaseManifest UP-TO-DATE
:renpyandroid:processReleaseManifest UP-TO-DATE
:app:preReleaseBuild UP-TO-DATE
:renpyandroid:compileReleaseAidl UP-TO-DATE
:app:compileReleaseAidl UP-TO-DATE
:renpyandroid:packageReleaseRenderscript NO-SOURCE
:app:compileReleaseRenderscript UP-TO-DATE
:app:checkReleaseManifest UP-TO-DATE
:app:generateReleaseBuildConfig UP-TO-DATE
:app:prepareLintJar UP-TO-DATE
:app:mainApkListPersistenceRelease UP-TO-DATE
:app:generateReleaseResValues UP-TO-DATE
:app:generateReleaseResources UP-TO-DATE
:renpyandroid:compileReleaseRenderscript UP-TO-DATE
:renpyandroid:generateReleaseResValues UP-TO-DATE
:renpyandroid:generateReleaseResources UP-TO-DATE
:renpyandroid:packageReleaseResources UP-TO-DATE
:app:mergeReleaseResources
:app:createReleaseCompatibleScreenManifests UP-TO-DATE
:app:processReleaseManifest UP-TO-DATE
:app:splitsDiscoveryTaskRelease UP-TO-DATE
:renpyandroid:platformAttrExtractor UP-TO-DATE
:renpyandroid:generateReleaseRFile UP-TO-DATE
:app:processReleaseResources
:app:generateReleaseSources
:renpyandroid:generateReleaseBuildConfig UP-TO-DATE
:renpyandroid:prepareLintJar UP-TO-DATE
:renpyandroid:generateReleaseSources UP-TO-DATE
:renpyandroid:javaPreCompileRelease UP-TO-DATE
:renpyandroid:compileReleaseJavaWithJavac UP-TO-DATE
:renpyandroid:processReleaseJavaRes NO-SOURCE
:renpyandroid:transformClassesAndResourcesWithPrepareIntermediateJarsForRelease UP-TO-DATE
:app:javaPreCompileRelease UP-TO-DATE
:app:compileReleaseJavaWithJavac UP-TO-DATE
:app:compileReleaseNdk NO-SOURCE
:app:compileReleaseSources UP-TO-DATE
:app:lintVitalRelease
:app:mergeReleaseShaders UP-TO-DATE
:app:compileReleaseShaders UP-TO-DATE
:app:generateReleaseAssets UP-TO-DATE
:renpyandroid:mergeReleaseShaders UP-TO-DATE
:renpyandroid:compileReleaseShaders UP-TO-DATE
:renpyandroid:generateReleaseAssets UP-TO-DATE
:renpyandroid:packageReleaseAssets UP-TO-DATE
:app:mergeReleaseAssets
:app:transformClassesWithDexBuilderForRelease UP-TO-DATE
:app:transformDexArchiveWithExternalLibsDexMergerForRelease UP-TO-DATE
:app:transformDexArchiveWithDexMergerForRelease UP-TO-DATE
:app:mergeReleaseJniLibFolders UP-TO-DATE
:renpyandroid:compileReleaseNdk NO-SOURCE
:renpyandroid:mergeReleaseJniLibFolders UP-TO-DATE
:renpyandroid:transformNativeLibsWithMergeJniLibsForRelease UP-TO-DATE
:renpyandroid:transformNativeLibsWithIntermediateJniLibsForRelease UP-TO-DATE
:app:transformNativeLibsWithMergeJniLibsForRelease UP-TO-DATE
:app:processReleaseJavaRes NO-SOURCE
:app:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
:app:validateSigningRelease UP-TO-DATE
:app:packageRelease FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:packageRelease'.
> value (69767) > 0x0000ffff

* Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:packageRelease'.
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:100)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70)
        at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
        at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:62)
        at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:60)
        at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:97)
        at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:87)
        at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:52)
        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
        at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
        at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:248)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:241)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:230)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor.java:123)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:79)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:104)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:98)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:626)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:581)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:98)
        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
        at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
        at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
Caused by: org.gradle.tooling.BuildException: value (69767) > 0x0000ffff
        at com.android.build.gradle.internal.scope.BuildElements$ExecutorBasedScheduler$transform$2.invoke(BuildElements.kt:133)
        at com.android.build.gradle.internal.scope.BuildElements$ExecutorBasedScheduler$transform$2.invoke(BuildElements.kt:110)
        at kotlin.sequences.SequencesKt___SequencesKt$onEach$1.invoke(_Sequences.kt:1260)
        at kotlin.sequences.TransformingSequence$iterator$1.next(Sequences.kt:148)
        at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:108)
        at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:132)
        at kotlin.sequences.TransformingSequence$iterator$1.hasNext(Sequences.kt:152)
        at kotlin.sequences.SequencesKt___SequencesKt.toCollection(_Sequences.kt:633)
        at kotlin.sequences.SequencesKt___SequencesKt.toMutableList(_Sequences.kt:663)
        at kotlin.sequences.SequencesKt___SequencesKt.toList(_Sequences.kt:654)
        at com.android.build.gradle.internal.scope.BuildElements$ExecutorBasedScheduler.transform(BuildElements.kt:140)
        at com.android.build.gradle.internal.scope.BuildElements$ExecutorBasedScheduler.into(BuildElements.kt:115)
        at com.android.build.gradle.internal.scope.BuildElementActionScheduler.into(BuildElementActionScheduler.kt:32)
        at com.android.build.gradle.tasks.PackageAndroidArtifact.doFullTaskAction(PackageAndroidArtifact.java:393)
        at com.android.build.gradle.internal.tasks.IncrementalTask.taskAction(IncrementalTask.java:106)
        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
        at org.gradle.api.internal.project.taskfactory.IncrementalTaskAction.doExecute(IncrementalTaskAction.java:46)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:121)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:110)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:92)
        ... 29 more
Caused by: java.lang.IllegalArgumentException: value (69767) > 0x0000ffff
        at com.google.common.base.Preconditions.checkArgument(Preconditions.java:158)
        at com.android.apkzlib.zip.ZipField.write(ZipField.java:269)
        at com.android.apkzlib.zip.Eocd.computeByteRepresentation(Eocd.java:259)
        at com.android.apkzlib.utils.CachedSupplier.get(CachedSupplier.java:81)
        at com.android.apkzlib.zip.Eocd.toBytes(Eocd.java:229)
        at com.android.apkzlib.zip.ZFile.computeEocd(ZFile.java:1489)
        at com.android.apkzlib.zip.ZFile.update(ZFile.java:1155)
        at com.android.apkzlib.zip.ZFile.close(ZFile.java:1283)
        at com.android.apkzlib.zfile.ApkZFileCreator.close(ApkZFileCreator.java:189)
        at com.google.common.io.Closer.close(Closer.java:216)
        at com.android.builder.internal.packaging.IncrementalPackager.close(IncrementalPackager.java:332)
        at com.android.build.gradle.tasks.PackageAndroidArtifact.doTask(PackageAndroidArtifact.java:676)
        at com.android.build.gradle.tasks.PackageAndroidArtifact.splitFullAction(PackageAndroidArtifact.java:496)
        at com.android.build.gradle.tasks.PackageAndroidArtifact.lambda$doFullTaskAction$2(PackageAndroidArtifact.java:388)
        at com.android.build.gradle.internal.scope.BuildElements$ExecutorBasedScheduler$transform$$inlined$forEach$lambda$1.call(BuildElements.kt:121)
        at com.android.build.gradle.internal.scope.BuildElements$ExecutorBasedScheduler$transform$$inlined$forEach$lambda$1.call(BuildElements.kt:110)

help.gradle.org
* Get more help at https://

BUILD FAILED in 5m 19s
46 actionable tasks: 5 executed, 41 up-to-date




The build seems to have failed.

 楼主| 发表于 2020-7-21 11:23:20 | 显示全部楼层
数值超限了但是我找不到超限发生在哪 求助啊
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-7-21 16:33:39 | 显示全部楼层
版主?救命啊啊啊啊
回复 支持 反对

使用道具 举报

发表于 2020-8-27 22:24:08 | 显示全部楼层
不记得那个文件了。
我没按照他们说的改,自己直接删掉了后半部分,然后就好了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|RenPy中文空间 ( 苏ICP备17067825号 | 苏公网安备 32092302000068号 )

GMT+8, 2020-10-23 10:22 , Processed in 0.045773 second(s), 27 queries , File On.

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表