找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 480|回复: 2

[求助] 安卓打包失败……

[复制链接]
发表于 2023-4-26 13:52:46 | 显示全部楼层 |阅读模式

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

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

×
Ren'Py 7.5.3.22090809

姝e湪鏇存柊椤圭洰銆?

姝e湪鍒涘缓璧勬簮鐩綍銆?

姝e湪鎵撳寘鍐呴儴鏁版嵁銆?

姝e湪浣跨敤 Gradle 鏋勫缓搴旂敤鍖呫€?
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/6.1.1/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
File C:\Users\zun\.android\repositories.cfg could not be loaded.
Checking the license for package SDK Patch Applier v4 in E:\Program Files\renpy-7.5.3-sdk\rapt\Sdk\licenses
License for package SDK Patch Applier v4 accepted.
Preparing "Install SDK Patch Applier v4 (revision: 1)".
"Install SDK Patch Applier v4 (revision: 1)" ready.
Installing SDK Patch Applier v4 in E:\Program Files\renpy-7.5.3-sdk\rapt\Sdk\patcher\v4
"Install SDK Patch Applier v4 (revision: 1)" complete.
"Install SDK Patch Applier v4 (revision: 1)" finished.
Checking the license for package Android Emulator in E:\Program Files\renpy-7.5.3-sdk\rapt\Sdk\licenses
License for package Android Emulator accepted.
Preparing "Install Android Emulator (revision: 32.1.12)".
"Install Android Emulator (revision: 32.1.12)" ready.
Installing Android Emulator in E:\Program Files\renpy-7.5.3-sdk\rapt\Sdk\emulator
"Install Android Emulator (revision: 32.1.12)" complete.
"Install Android Emulator (revision: 32.1.12)" finished.
Checking the license for package Android SDK Tools in E:\Program Files\renpy-7.5.3-sdk\rapt\Sdk\licenses
License for package Android SDK Tools accepted.
Preparing "Install Android SDK Tools (revision: 26.1.1)".
"Install Android SDK Tools (revision: 26.1.1)" ready.
Installing Android SDK Tools in E:\Program Files\renpy-7.5.3-sdk\rapt\Sdk\tools
"Install Android SDK Tools (revision: 26.1.1)" complete.
"Install Android SDK Tools (revision: 26.1.1)" finished.
Checking the license for package Android SDK Build-Tools 29.0.2 in E:\Program Files\renpy-7.5.3-sdk\rapt\Sdk\licenses
License for package Android SDK Build-Tools 29.0.2 accepted.
Preparing "Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)".
"Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)" ready.
Installing Android SDK Build-Tools 29.0.2 in E:\Program Files\renpy-7.5.3-sdk\rapt\Sdk\build-tools\29.0.2
"Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)" complete.
"Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)" finished.
Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
> Task :app:preBuild UP-TO-DATE
> Task :app:preReleaseBuild UP-TO-DATE
> Task :renpyandroid:preBuild UP-TO-DATE
> Task :renpyandroid:preReleaseBuild UP-TO-DATE
> Task :renpyandroid:compileReleaseAidl NO-SOURCE
> Task :app:compileReleaseAidl NO-SOURCE
> Task :renpyandroid:packageReleaseRenderscript NO-SOURCE
> Task :app:compileReleaseRenderscript NO-SOURCE
> Task :app:generateReleaseBuildConfig
> Task :app:generateReleaseResValues
> Task :app:generateReleaseResources
> Task :renpyandroid:compileReleaseRenderscript NO-SOURCE
> Task :renpyandroid:generateReleaseResValues
> Task :renpyandroid:generateReleaseResources
> Task :renpyandroid:packageReleaseResources
> Task :app:javaPreCompileRelease
> Task :app:createReleaseCompatibleScreenManifests
> Task :app:extractDeepLinksRelease
> Task :renpyandroid:extractDeepLinksRelease
> Task :renpyandroid:processReleaseManifest
> Task :app:processReleaseManifest
> Task :renpyandroid:compileReleaseLibraryResources
> Task :renpyandroid:generateReleaseBuildConfig
> Task :app:mergeReleaseResources
> Task :renpyandroid:javaPreCompileRelease
> Task :renpyandroid:parseReleaseLocalResources
> Task :app:prepareLintJar
> Task :renpyandroid:prepareLintJarForPublish
> Task :app:checkReleaseDuplicateClasses
> Task :renpyandroid:generateReleaseRFile
aapt2.exe W 04-26 12:41:19 13212  7196 LoadedArsc.cpp:657] Unknown chunk type '200'.

> Task :app:processReleaseResources

> Task :renpyandroid:compileReleaseJavaWithJavac
注: 某些输入文件使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
注: E:\Program Files\renpy-7.5.3-sdk\rapt\project\renpyandroid\src\main\java\org\renpy\android\PythonSDLActivity.java使用了未经检查或不安全的操作。
注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。

> Task :renpyandroid:bundleLibRuntimeToJarRelease
> Task :renpyandroid:bundleLibCompileToJarRelease
> Task :app:compileReleaseJavaWithJavac
> Task :app:compileReleaseSources
> Task :app:lintVitalRelease
> Task :app:dexBuilderRelease
> Task :app:mergeReleaseShaders
> Task :app:compileReleaseShaders NO-SOURCE
> Task :app:generateReleaseAssets UP-TO-DATE
> Task :renpyandroid:mergeReleaseShaders
> Task :renpyandroid:compileReleaseShaders NO-SOURCE
> Task :renpyandroid:generateReleaseAssets UP-TO-DATE
> Task :renpyandroid:packageReleaseAssets
> Task :app:mergeExtDexRelease
> Task :app:mergeReleaseAssets
> Task :app:processReleaseJavaRes NO-SOURCE
> Task :renpyandroid:processReleaseJavaRes NO-SOURCE
> Task :renpyandroid:bundleLibResRelease NO-SOURCE
> Task :app:collectReleaseDependencies
> Task :app:sdkReleaseDependencyData
> Task :app:mergeReleaseJniLibFolders
> Task :renpyandroid:mergeReleaseJniLibFolders
> Task :app:mergeReleaseJavaResource
> Task :app:validateSigningRelease
> Task :renpyandroid:extractReleaseAnnotations
> Task :renpyandroid:mergeReleaseGeneratedProguardFiles
> Task :renpyandroid:mergeReleaseConsumerProguardFiles
> Task :renpyandroid:mergeReleaseNativeLibs

> Task :renpyandroid:stripReleaseDebugSymbols
WARNING: Compatible side by side NDK version was not found for android.ndkVersion '21.3.6528147'
Compatible side by side NDK version was not found for android.ndkVersion '21.3.6528147'
Unable to strip the following libraries, packaging them as they are: librenpython.so.

> Task :renpyandroid:copyReleaseJniLibsProjectOnly
> Task :renpyandroid:mergeReleaseJavaResource
> Task :renpyandroid:copyReleaseJniLibsProjectAndLocalJars
> Task :renpyandroid:syncReleaseLibJars
> Task :renpyandroid:bundleReleaseAar
> Task :app:mergeDexRelease
> Task :renpyandroid:compileReleaseSources
> Task :renpyandroid:mergeReleaseResources
> Task :app:mergeReleaseNativeLibs

> Task :app:stripReleaseDebugSymbols
WARNING: Compatible side by side NDK version was not found for android.ndkVersion '21.3.6528147'
Compatible side by side NDK version was not found for android.ndkVersion '21.3.6528147'
Unable to strip the following libraries, packaging them as they are: librenpython.so.
aapt2.exe W 04-26 12:49:09 14860  4792 LoadedArsc.cpp:657] Unknown chunk type '200'.


> Task :renpyandroid:verifyReleaseResources
> Task :app:packageRelease
> Task :app:packageRelease FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:packageRelease'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > value (4295507431) > 0x00000000ffffffffL

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

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

BUILD FAILED in 13m 55s
53 actionable tasks: 53 executed




鏋勫缓浼间箮宸插け璐ャ€?


 楼主| 发表于 2023-4-28 08:28:37 | 显示全部楼层
> value (4295507431) > 0x00000000ffffffffL
apk体积过大,压缩资源文件后打包成功
回复 支持 抱歉

使用道具 举报

发表于 2023-5-11 11:27:07 | 显示全部楼层
我调过几次,不同电脑,现在都挺简单的,要注意几点,一个是总体一具apk不能超4G,另一个是要装安桌版本8的
回复 支持 抱歉

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-12-22 10:47 , Processed in 0.103224 second(s), 23 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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