- Home /
Question by
keil_unity · Mar 26, 2021 at 09:10 PM ·
androidbuildcrashbuild-errorandroid-manifest
Jenkins android build launcher:mergeReleaseResources FAILED
completely lost with this error. any insight or recommendations would be amazing.
11:26:32 Starting a Gradle Daemon, 2 incompatible and 4 stopped Daemons could not be reused, use --status for details
11:26:32 > Task :launcher:preBuild UP-TO-DATE
11:26:32 > Task :unityLibrary:preBuild UP-TO-DATE
11:26:32 > Task :unityLibrary:preReleaseBuild UP-TO-DATE
11:26:32 > Task :unityLibrary:checkReleaseManifest
11:26:32 > Task :launcher:prepareLintJar
11:26:32 > Task :unityLibrary:processReleaseManifest
11:26:32 > Task :unityLibrary:compileReleaseAidl NO-SOURCE
11:26:32 > Task :unityLibrary:packageReleaseRenderscript NO-SOURCE
11:26:32 > Task :unityLibrary:compileReleaseRenderscript NO-SOURCE
11:26:32 > Task :unityLibrary:generateReleaseBuildConfig
11:26:32 > Task :unityLibrary:generateReleaseResValues
11:26:32 > Task :unityLibrary:generateReleaseResources
11:26:32 > Task :launcher:preReleaseBuild
11:26:32 > Task :launcher:compileReleaseAidl NO-SOURCE
11:26:32 > Task :launcher:compileReleaseRenderscript NO-SOURCE
11:26:32 > Task :launcher:checkReleaseManifest
11:26:32 > Task :launcher:generateReleaseBuildConfig
11:26:32 > Task :launcher:generateReleaseSources
11:26:32 > Task :launcher:mainApkListPersistenceRelease
11:26:32 > Task :launcher:generateReleaseResValues
11:26:32 > Task :launcher:generateReleaseResources
11:26:32 > Task :launcher:createReleaseCompatibleScreenManifests
11:26:32 > Task :launcher:processReleaseManifest
11:26:32 > Task :unityLibrary:packageReleaseResources
11:26:32 > Task :launcher:mergeReleaseShaders
11:26:32 > Task :launcher:mergeReleaseResources FAILED
11:26:32 > Task :unityLibrary:generateReleaseRFile
11:26:32
11:26:32 Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
11:26:32 Use '--warning-mode all' to show the individual deprecation warnings.
11:26:32 See https://docs.gradle.org/5.1.1/userguide/command_line_interface.html#sec:command_line_warnings
11:26:32 16 actionable tasks: 16 executed
11:26:32
11:26:32 UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
11:26:32 UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
11:26:32 UnityEngine.Logger:Log(LogType, Object)
11:26:32 UnityEngine.Debug:LogError(Object)
11:26:32 UnityEditor.Android.GradleInvokationException:ParseAndShowException()
11:26:32 UnityEditor.Android.PostProcessor.PostProcessRunner:RunAllTasks(PostProcessorContext)
11:26:32 UnityEditor.Android.PostProcessAndroidPlayer:PostProcess(BuildTarget, String, String, String, String, String, String, BuildOptions, RuntimeClassRegistry, BuildReport)
11:26:32 UnityEditor.Android.AndroidBuildPostprocessor:PostProcess(BuildPostProcessArgs, BuildProperties&)
11:26:32 UnityEditor.PostprocessBuildPlayer:Postprocess(BuildTargetGroup, BuildTarget, String, String, String, Int32, Int32, BuildOptions, RuntimeClassRegistry, BuildReport)
11:26:32 UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions, Boolean)
11:26:32 UnityEditor.BuildPipeline:BuildPlayerInternal(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions)
11:26:32 UnityEditor.BuildPipeline:BuildPlayer(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions)
11:26:32 UnityEditor.BuildPipeline:BuildPlayer(BuildPlayerOptions)
11:26:32 UnityEditor.BuildPipeline:BuildPlayer(String[], String, BuildTarget, BuildOptions)
11:26:32 JenkinsBuild:BuildProject(String[], String, BuildTargetGroup, BuildTarget, BuildOptions) (at Assets\Editor\JenkinsBuild.cs:137)
11:26:32 JenkinsBuild:BuildAndroid() (at Assets\Editor\JenkinsBuild.cs:62)
11:26:32
11:26:32 (Filename: Assets/Editor/JenkinsBuild.cs Line: 137)
11:26:32
11:26:32
11:26:32 FAILURE: Build failed with an exception.
11:26:32
11:26:32 * What went wrong:
11:26:32 Execution failed for task ':launcher:mergeReleaseResources'.
11:26:32 > 8 exceptions were raised by workers:
11:26:32 com.android.builder.internal.aapt.v2.Aapt2InternalException: AAPT2 aapt2-3.4.0-5326820-windows Daemon #5: Daemon startup failed
11:26:32 This should not happen under normal circumstances, please file an issue if it does.
11:26:32 com.android.builder.internal.aapt.v2.Aapt2InternalException: AAPT2 aapt2-3.4.0-5326820-windows Daemon #3: Daemon startup failed
11:26:32 This should not happen under normal circumstances, please file an issue if it does.
11:26:32 com.android.builder.internal.aapt.v2.Aapt2InternalException: AAPT2 aapt2-3.4.0-5326820-windows Daemon #1: Daemon startup failed
11:26:32 This should not happen under normal circumstances, please file an issue if it does.
11:26:32 com.android.builder.internal.aapt.v2.Aapt2InternalException: AAPT2 aapt2-3.4.0-5326820-windows Daemon #0: Daemon startup failed
11:26:32 This should not happen under normal circumstances, please file an issue if it does.
11:26:32 com.android.builder.internal.aapt.v2.Aapt2InternalException: AAPT2 aapt2-3.4.0-5326820-windows Daemon #6: Daemon startup failed
11:26:32 This should not happen under normal circumstances, please file an issue if it does.
11:26:32 com.android.builder.internal.aapt.v2.Aapt2InternalException: AAPT2 aapt2-3.4.0-5326820-windows Daemon #4: Daemon startup failed
11:26:32 This should not happen under normal circumstances, please file an issue if it does.
11:26:32 com.android.builder.internal.aapt.v2.Aapt2InternalException: AAPT2 aapt2-3.4.0-5326820-windows Daemon #2: Daemon startup failed
11:26:32 This should not happen under normal circumstances, please file an issue if it does.
11:26:32 com.android.builder.internal.aapt.v2.Aapt2InternalException: AAPT2 aapt2-3.4.0-5326820-windows Daemon #7: Daemon startup failed
11:26:32 This should not happen under normal circumstances, please file an issue if it does.
11:26:32
11:26:32
11:26:32 * Try:
11:26:32 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.
11:26:32
11:26:32 * Get more help at https://help.gradle.org
11:26:32
11:26:32 BUILD FAILED in 9s
11:26:32 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
11:26:32
11:26:32 UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
11:26:32 UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
11:26:32 UnityEngine.Logger:Log(LogType, Object)
11:26:32 UnityEngine.Debug:LogError(Object)
11:26:32 UnityEditor.Android.GradleInvokationException:ParseAndShowException()
11:26:32 UnityEditor.Android.PostProcessor.PostProcessRunner:RunAllTasks(PostProcessorContext)
11:26:32 UnityEditor.Android.PostProcessAndroidPlayer:PostProcess(BuildTarget, String, String, String, String, String, String, BuildOptions, RuntimeClassRegistry, BuildReport)
11:26:32 UnityEditor.Android.AndroidBuildPostprocessor:PostProcess(BuildPostProcessArgs, BuildProperties&)
11:26:32 UnityEditor.PostprocessBuildPlayer:Postprocess(BuildTargetGroup, BuildTarget, String, String, String, Int32, Int32, BuildOptions, RuntimeClassRegistry, BuildReport)
11:26:32 UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions, Boolean)
11:26:32 UnityEditor.BuildPipeline:BuildPlayerInternal(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions)
11:26:32 UnityEditor.BuildPipeline:BuildPlayer(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions)
11:26:32 UnityEditor.BuildPipeline:BuildPlayer(BuildPlayerOptions)
11:26:32 UnityEditor.BuildPipeline:BuildPlayer(String[], String, BuildTarget, BuildOptions)
11:26:32 JenkinsBuild:BuildProject(String[], String, BuildTargetGroup, BuildTarget, BuildOptions) (at Assets\Editor\JenkinsBuild.cs:137)
11:26:32 JenkinsBuild:BuildAndroid() (at Assets\Editor\JenkinsBuild.cs:62)
11:26:32
11:26:32 (Filename: Assets/Editor/JenkinsBuild.cs Line: 137)
11:26:32
11:26:32 Uploading Crash Report
11:26:32 CommandInvokationFailure: Gradle build failed.
11:26:32 C:/Program Files/Projects/2019.4.17f1/Editor/Data/PlaybackEngines/AndroidPlayer\OpenJDK\bin\java.exe -classpath "C:\Program Files\Projects\2019.4.17f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-5.1.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "assembleRelease"
11:26:32
11:26:32 stderr[
11:26:32
11:26:32 FAILURE: Build failed with an exception.
11:26:32
11:26:32 * What went wrong:
11:26:32 Execution failed for task ':launcher:mergeReleaseResources'.
11:26:32 > 8 exceptions were raised by workers:
11:26:32 com.android.builder.internal.aapt.v2.Aapt2InternalException: AAPT2 aapt2-3.4.0-5326820-windows Daemon #5: Daemon startup failed
11:26:32 This should not happen under normal circumstances, please file an issue if it does.
11:26:32 com.android.builder.internal.aapt.v2.Aapt2InternalException: AAPT2 aapt2-3.4.0-5326820-windows Daemon #3: Daemon startup failed
11:26:32 This should not happen under normal circumstances, please file an issue if it does.
11:26:32 com.android.builder.internal.aapt.v2.Aapt2InternalException: AAPT2 aapt2-3.4.0-5326820-windows Daemon #1: Daemon startup failed
11:26:32 This should not happen under normal circumstances, please file an issue if it does.
11:26:32 com.android.builder.internal.aapt.v2.Aapt2InternalException: AAPT2 aapt2-3.4.0-5326820-windows Daemon #0: Daemon startup failed
11:26:32 This should not happen under normal circumstances, please file an issue if it does.
11:26:32 com.android.builder.internal.aapt.v2.Aapt2InternalException: AAPT2 aapt2-3.4.0-5326820-windows Daemon #6: Daemon startup failed
11:26:32 This should not happen under normal circumstances, please file an issue if it does.
11:26:32 com.android.builder.internal.aapt.v2.Aapt2InternalException: AAPT2 aapt2-3.4.0-5326820-windows Daemon #4: Daemon startup failed
11:26:32 This should not happen under normal circumstances, please file an issue if it does.
11:26:32 com.android.builder.internal.aapt.v2.Aapt2InternalException: AAPT2 aapt2-3.4.0-5326820-windows Daemon #2: Daemon startup failed
11:26:32 This should not happen under normal circumstances, please file an issue if it does.
11:26:32 com.android.builder.internal.aapt.v2.Aapt2InternalException: AAPT2 aapt2-3.4.0-5326820-windows Daemon #7: Daemon startup failed
11:26:32 This should not happen under normal circumstances, please file an issue if it does.
11:26:32
11:26:32
11:26:32 * Try:
11:26:32 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.
11:26:32
11:26:32 * Get more help at https://help.gradle.org
11:26:32
11:26:32 BUILD FAILED in 9s
11:26:32 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
11:26:32 ]
11:26:32 stdout[
11:26:32 Starting a Gradle Daemon, 2 incompatible and 4 stopped Daemons could not be reused, use --status for details
11:26:32 > Task :launcher:preBuild UP-TO-DATE
11:26:32 > Task :unityLibrary:preBuild UP-TO-DATE
11:26:32 > Task :unityLibrary:preReleaseBuild UP-TO-DATE
11:26:32 > Task :unityLibrary:checkReleaseManifest
11:26:32 > Task :launcher:prepareLintJar
11:26:32 > Task :unityLibrary:processReleaseManifest
11:26:32 > Task :unityLibrary:compileReleaseAidl NO-SOURCE
11:26:32 > Task :unityLibrary:packageReleaseRenderscript NO-SOURCE
11:26:32 > Task :unityLibrary:compileReleaseRenderscript NO-SOURCE
11:26:32 > Task :unityLibrary:generateReleaseBuildConfig
11:26:32 > Task :unityLibrary:generateReleaseResValues
11:26:32 > Task :unityLibrary:generateReleaseResources
11:26:32 > Task :launcher:preReleaseBuild
11:26:32 > Task :launcher:compileReleaseAidl NO-SOURCE
11:26:32 > Task :launcher:compileReleaseRenderscript NO-SOURCE
11:26:32 > Task :launcher:checkReleaseManifest
11:26:32 > Task :launcher:generateReleaseBuildConfig
11:26:32 > Task :launcher:generateReleaseSources
11:26:32 > Task :launcher:mainApkListPersistenceRelease
11:26:32 > Task :launcher:generateReleaseResValues
11:26:32 > Task :launcher:generateReleaseResources
11:26:32 > Task :launcher:createReleaseCompatibleScreenManifests
11:26:32 > Task :launcher:processReleaseManifest
11:26:32 > Task :unityLibrary:packageReleaseResources
11:26:32 > Task :launcher:mergeReleaseShaders
11:26:32 > Task :launcher:mergeReleaseResources FAILED
11:26:32 > Task :unityLibrary:generateReleaseRFile
11:26:32
11:26:32 Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
11:26:32 Use '--warning-mode all' to show the individual deprecation warnings.
11:26:32 See https://docs.gradle.org/5.1.1/userguide/command_line_interface.html#sec:command_line_warnings
11:26:32 16 actionable tasks: 16 executed
11:26:32 ]
11:26:32 exit code: 1
11:26:32 at UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x00033] in <d76da2c9a45b4b02b93f56ae560b1d44>:0
11:26:32 at UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x0002d] in <d76da2c9a45b4b02b93f56ae560b1d44>:0
11:26:32 at UnityEditor.Android.Command.Run (System.String command, System.String args, System.String workingdir, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x0000a] in <d76da2c9a45b4b02b93f56ae560b1d44>:0
11:26:32 at UnityEditor.Android.AndroidJavaTools.RunJava (System.String args, System.String workingdir, System.Action`1[T] progress, System.String error) [0x0001f] in <d76da2c9a45b4b02b93f56ae560b1d44>:0
11:26:32 at UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, System.String workingdir, System.String task, System.Action`1[T] progress) [0x0002a] in <d76da2c9a45b4b02b93f56ae560b1d44>:0
11:26:32 Rethrow as GradleInvokationException: Gradle build failed
11:26:32 at UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, System.String workingdir, System.String task, System.Action`1[T] progress) [0x0004b] in <d76da2c9a45b4b02b93f56ae560b1d44>:0
11:26:32 at UnityEditor.Android.PostProcessor.Tasks.BuildGradleProject.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) [0x000d1] in <d76da2c9a45b4b02b93f56ae560b1d44>:0
11:26:32 at UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) [0x00078] in <d76da2c9a45b4b02b93f56ae560b1d44>:0
11:26:32 Rethrow as BuildFailedException: Exception of type 'UnityEditor.Build.BuildFailedException' was thrown.
11:26:32 at UnityEditor.Android.PostProcessor.CancelPostProcess.AbortBuild (System.String title, System.String message, System.Exception ex) [0x00020] in <d76da2c9a45b4b02b93f56ae560b1d44>:0
11:26:32 at UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) [0x0011a] in <d76da2c9a45b4b02b93f56ae560b1d44>:0
11:26:32 at UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) [0x00349] in <d76da2c9a45b4b02b93f56ae560b1d44>:0
11:26:32 at UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) [0x00001] in <d76da2c9a45b4b02b93f56ae560b1d44>:0
11:26:32 at UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) [0x000dc] in <2f1c602eae0d45c293fff3e3aef759fa>:0
11:26:32 UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions, Boolean)
11:26:32 UnityEditor.BuildPipeline:BuildPlayerInternal(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions)
11:26:32 UnityEditor.BuildPipeline:BuildPlayer(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions)
11:26:32 UnityEditor.BuildPipeline:BuildPlayer(BuildPlayerOptions)
11:26:32 UnityEditor.BuildPipeline:BuildPlayer(String[], String, BuildTarget, BuildOptions)
11:26:32 JenkinsBuild:BuildProject(String[], String, BuildTargetGroup, BuildTarget, BuildOptions) (at Assets\Editor\JenkinsBuild.cs:137)
11:26:32 JenkinsBuild:BuildAndroid() (at Assets\Editor\JenkinsBuild.cs:62)
11:26:32
11:26:32 (Filename: <d76da2c9a45b4b02b93f56ae560b1d44> Line: 0)
11:26:32
11:26:32 Unloading 180 Unused Serialized files (Serialized files now loaded: 0)
11:26:32 System memory in use before: 157.9 MB.
11:26:32 System memory in use after: 154.7 MB.
11:26:32
11:26:32 Unloading 852 unused Assets to reduce memory usage. Loaded Objects now: 5150.
11:26:32 Total: 529.111500 ms (FindLiveObjects: 0.613500 ms CreateObjectMapping: 0.228300 ms MarkObjects: 525.278100 ms DeleteObjects: 2.990900 ms)
11:26:32
11:26:33 Unloading 0 Unused Serialized files (Serialized files now loaded: 0)
11:26:33 Loaded scene 'Temp/__Backupscenes/0.backup'
11:26:33 Deserialize: 0.457 ms
11:26:33 Integration: 178.815 ms
11:26:33 Integration of assets: 0.003 ms
11:26:33 Thread Wait Time: 18.780 ms
11:26:33 Total Operation Time: 198.056 ms
11:26:33 System memory in use before: 150.2 MB.
11:26:33 System memory in use after: 150.5 MB.
11:26:33
11:26:33 Unloading 0 unused Assets to reduce memory usage. Loaded Objects now: 5143.
11:26:33 Total: 518.281500 ms (FindLiveObjects: 0.501100 ms CreateObjectMapping: 0.215700 ms MarkObjects: 517.551800 ms DeleteObjects: 0.012000 ms)
11:26:33
11:26:33 [JenkinsBuild] Build Failed: Time:00:00:55.5940049 Total Errors:4
11:26:33 Uploading Crash Report
11:26:33 Exception: Build Failed
11:26:33 at JenkinsBuild.BuildProject (System.String[] scenes, System.String targetDir, UnityEditor.BuildTargetGroup buildTargetGroup, UnityEditor.BuildTarget buildTarget, UnityEditor.BuildOptions buildOptions) [0x00151] in C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins\.jenkins\workspace\STAT\Assets\Editor\JenkinsBuild.cs:147
11:26:33 at JenkinsBuild.BuildAndroid () [0x00055] in C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins\.jenkins\workspace\STAT\Assets\Editor\JenkinsBuild.cs:62
11:26:33
11:26:33 (Filename: Assets/Editor/JenkinsBuild.cs Line: 147)
11:26:33
11:26:33 executeMethod method JenkinsBuild.BuildAndroid threw exception.
11:26:33 (Filename: C:\buildslave\unity\build\Runtime/Utilities/Argv.cpp Line: 376)
11:26:33
11:26:33
11:26:33 Aborting batchmode due to failure:
11:26:33 executeMethod method JenkinsBuild.BuildAndroid threw exception.
Comment
Your answer
Follow this Question
Related Questions
Crash with Android Application in Phones 1 Answer
Unity deleting and crashing on Android APK build 0 Answers
App crashes on Android 7.11 2 Answers
Android Build Error 1 Answer