找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 14855|回复: 2

[已解决] 游戏文件过大打包APK失败

[复制链接]
发表于 2019-6-11 21:00:51 | 显示全部楼层 |阅读模式

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

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

×
游戏总文件大小在1G以下基本能打包编译成功,但游戏总文件大小超过1G以上基本打包失败!
1:rapt及sdk配置绝对没有问题!
2:跳过图片及视频压缩问题,因为我拿开发者的PC版文件和安卓版文件对比,大小格式一样。
3:拿PC版的rpyc经修改移植到作者开发好的apk经2次编译打包完美运行,版本及文件无误!
打包PC分发版无异常,偏偏我在renpy启动器上打包安卓就是不行?
经多次不同游戏测试1G以下完美打包无异常,1G以上就会出现以下情况:
:renpyandroid:compileDebugJavaWithJavac注: F:\renpy-7.2.2-sdk\rapt\project\renpyandroid\src\main\java\org\renpy\android\PythonSDLActivity.java使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。

Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded
FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:mergeDebugAssets'.
> There were multiple failures while executing work items
   > java.util.concurrent.ExecutionException: org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing com.android.build.gradle.tasks.MergeSourceSetFolders$AssetWorkAction
   > java.util.concurrent.ExecutionException: org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing com.android.build.gradle.tasks.MergeSourceSetFolders$AssetWorkAction
   > java.util.concurrent.ExecutionException: org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing com.android.build.gradle.tasks.MergeSourceSetFolders$AssetWorkAction
   > java.util.concurrent.ExecutionException: org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing com.android.build.gradle.tasks.MergeSourceSetFolders$AssetWorkAction
   > java.util.concurrent.ExecutionException: org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing com.android.build.gradle.tasks.MergeSourceSetFolders$AssetWorkAction
   > java.util.concurrent.ExecutionException: org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing com.android.build.gradle.tasks.MergeSourceSetFolders$AssetWorkAction
   > java.util.concurrent.ExecutionException: org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing com.android.build.gradle.tasks.MergeSourceSetFolders$AssetWorkAction


 楼主| 发表于 2019-6-13 01:38:22 来自手机 | 显示全部楼层
以解决!
回复

使用道具 举报

发表于 2019-6-13 09:15:43 | 显示全部楼层
论坛就有相同问题和解决方法唉:https://www.renpy.cn/forum.php?mod=viewthread&tid=259
回复 支持 抱歉

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-12-24 08:51 , Processed in 0.112180 second(s), 27 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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