error build unity
unknown
plain_text
a year ago
14 kB
11
Indexable
Never
CommandInvokationFailure: Gradle build failed. C:\Program Files\Java\jdk1.8.0_341\bin\java.exe -classpath "C:\Program Files\Unity\Hub\Editor\2021.3.9f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-6.1.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "assembleRelease" Environment Variables: USERDOMAIN = DESKTOP-TS2DT6R ProgramFiles = C:\Program Files TMP = C:\Users\ROYAL\AppData\Local\Temp GTK_BASEPATH = C:\Program Files (x86)\GtkSharp\2.12\ PROCESSOR_REVISION = 9e0a OS = Windows_NT CHROME_CRASHPAD_PIPE_NAME = \\.\pipe\crashpad_9156_RGJKJEUIFOMXRUVK PROCESSOR_IDENTIFIER = Intel64 Family 6 Model 158 Stepping 10, GenuineIntel ProgramW6432 = C:\Program Files USERPROFILE = C:\Users\ROYAL JAVA_HOME = C:\Program Files\Java\jdk1.8.0_341 CommonProgramFiles = C:\Program Files\Common Files DriverData = C:\Windows\System32\Drivers\DriverData ComSpec = C:\WINDOWS\system32\cmd.exe PSModulePath = C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules ANDROID_NDK_ROOT = C:\Program Files\Unity\Hub\Editor\2021.3.9f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK USERNAME = ROYAL NUMBER_OF_PROCESSORS = 6 JAVA_TOOL_OPTIONS = -Dfile.encoding=UTF-8 BURST_ANDROID_MIN_API_LEVEL = 22 FPS_BROWSER_APP_PROFILE_STRING = Internet Explorer TEMP = C:\Users\ROYAL\AppData\Local\Temp Path = C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Git\cmd;D:\SOFT\Dev\openssl\bin;C:\Program Files\Java\jdk1.8.0_341\bin;C:\Program Files\nodejs\;C:\Program Files\dotnet\;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Users\ROYAL\AppData\Local\Microsoft\WindowsApps;C:\Users\ROYAL\AppData\Roaming\npm;C:\Users\ROYAL\.dotnet\tools COMPUTERNAME = DESKTOP-TS2DT6R PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC ALLUSERSPROFILE = C:\ProgramData SystemDrive = C: windir = C:\WINDOWS PROCESSOR_ARCHITECTURE = AMD64 FPS_BROWSER_USER_PROFILE_STRING = Default HOMEPATH = \Users\ROYAL PUBLIC = C:\Users\Public CommonProgramFiles(x86) = C:\Program Files (x86)\Common Files APPDATA = C:\Users\ROYAL\AppData\Roaming OneDrive = C:\Users\ROYAL\OneDrive PROCESSOR_LEVEL = 6 CommonProgramW6432 = C:\Program Files\Common Files ProgramFiles(x86) = C:\Program Files (x86) SystemRoot = C:\WINDOWS SESSIONNAME = Console LOGONSERVER = \\DESKTOP-TS2DT6R LOCALAPPDATA = C:\Users\ROYAL\AppData\Local HOMEDRIVE = C: USERDOMAIN_ROAMINGPROFILE = DESKTOP-TS2DT6R ProgramData = C:\ProgramData ORIGINAL_XDG_CURRENT_DESKTOP = undefined stderr[ Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 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/addon2/03 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/repository2/03 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/03 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/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 Warning: unexpected element (uri:"", local:"extension-level"). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level> Warning: unexpected element (uri:"", local:"base-extension"). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level> Note: F:\UNITY3\PUBLISH\genp47-screw-puzzle\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\src\main\java\com\unity3d\player\UnityPlayerActivity.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':launcher:processReleaseResources'. > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade > AAPT2 aapt2-4.0.1-6197926-windows Daemon #0: Unexpected error during link, attempting to stop daemon. This should not happen under normal circumstances, please file an issue if it does. * 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 29s ] stdout[ Starting a Gradle Daemon, 1 incompatible and 2 stopped Daemons could not be reused, use --status for details > Configure project :launcher WARNING: The option setting 'android.enableR8=true' is deprecated. It will be removed in version 5.0 of the Android Gradle plugin. You will no longer be able to disable R8 ============================================================================= AppLovin Quality Service Plug-in for Gradle and Android Studio Version 4.13.6 Copyright (c) 2023 AppLovin Ltd. All rights reserved. ============================================================================= > Task :launcher:preBuild UP-TO-DATE > Task :unityLibrary:preBuild UP-TO-DATE > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:preBuild UP-TO-DATE > Task :unityLibrary:preReleaseBuild UP-TO-DATE > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:preReleaseBuild UP-TO-DATE > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseAidl NO-SOURCE > Task :unityLibrary:packageReleaseRenderscript NO-SOURCE > Task :unityLibrary:compileReleaseAidl NO-SOURCE > Task :launcher:extractProguardFiles > Task :launcher:preReleaseBuild > Task :launcher:compileReleaseAidl NO-SOURCE > Task :launcher:compileReleaseRenderscript NO-SOURCE > Task :launcher:generateReleaseBuildConfig > Task :launcher:javaPreCompileRelease > Task :launcher:generateReleaseResValues > Task :launcher:generateReleaseResources > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:packageReleaseRenderscript NO-SOURCE > Task :unityLibrary:generateReleaseResValues > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseRenderscript NO-SOURCE > Task :unityLibrary:compileReleaseRenderscript NO-SOURCE > Task :unityLibrary:generateReleaseResources > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseResValues > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseResources > Task :launcher:createReleaseCompatibleScreenManifests > Task :launcher:extractDeepLinksRelease > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:packageReleaseResources > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:extractDeepLinksRelease > Task :unityLibrary:packageReleaseResources > Task :unityLibrary:extractDeepLinksRelease > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:processReleaseManifest > Task :unityLibrary:processReleaseManifest > Task :unityLibrary:compileReleaseLibraryResources > Task :unityLibrary:parseReleaseLocalResources > Task :unityLibrary:generateReleaseBuildConfig > Task :unityLibrary:javaPreCompileRelease > Task :unityLibrary:prepareLintJarForPublish > Task :unityLibrary:mergeReleaseShaders > Task :unityLibrary:compileReleaseShaders NO-SOURCE > Task :unityLibrary:generateReleaseAssets UP-TO-DATE > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseBuildConfig > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseLibraryResources > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:parseReleaseLocalResources > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:prepareLintJarForPublish > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:mergeReleaseShaders > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseShaders NO-SOURCE > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseAssets UP-TO-DATE > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:packageReleaseAssets > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:javaPreCompileRelease > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseRFile > Task :unityLibrary:packageReleaseAssets > Task :unityLibrary:processReleaseJavaRes NO-SOURCE > Task :unityLibrary:bundleLibResRelease NO-SOURCE > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseJavaWithJavac > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:mergeReleaseGeneratedProguardFiles > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:processReleaseJavaRes NO-SOURCE > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:bundleLibResRelease NO-SOURCE > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:exportReleaseConsumerProguardFiles > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:bundleLibCompileToJarRelease > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:bundleLibRuntimeToJarRelease > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:mergeReleaseJniLibFolders > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:mergeReleaseNativeLibs > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:stripReleaseDebugSymbols NO-SOURCE > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:copyReleaseJniLibsProjectOnly > Task :launcher:processReleaseManifest F:\UNITY3\PUBLISH\genp47-screw-puzzle\Library\Bee\Android\Prj\IL2CPP\Gradle\launcher\src\main\AndroidManifest.xml:48:13-51:39 Warning: meta-data#com.unity3d.services.core.network.core.CronetInitializer was tagged at AndroidManifest.xml:48 to remove other declarations but no other declaration present > Task :launcher:prepareLintJar > Task :launcher:mergeReleaseShaders > Task :launcher:compileReleaseShaders NO-SOURCE > Task :launcher:generateReleaseAssets UP-TO-DATE > Task :unityLibrary:mergeReleaseJniLibFolders > Task :unityLibrary:generateReleaseRFile > Task :launcher:mergeReleaseAssets > Task :launcher:checkReleaseDuplicateClasses > Task :launcher:processReleaseJavaRes NO-SOURCE > Task :launcher:mergeReleaseJniLibFolders > Task :unityLibrary:compileReleaseJavaWithJavac > Task :launcher:collectReleaseDependencies > Task :unityLibrary:mergeReleaseNativeLibs > Task :unityLibrary:mergeReleaseGeneratedProguardFiles > Task :unityLibrary:bundleLibCompileToJarRelease > Task :unityLibrary:exportReleaseConsumerProguardFiles > Task :launcher:sdkReleaseDependencyData > Task :launcher:validateSigningRelease > Task :unityLibrary:stripReleaseDebugSymbols > Task :unityLibrary:copyReleaseJniLibsProjectOnly > Task :unityLibrary:bundleLibRuntimeToJarRelease > Task :launcher:mergeReleaseResources > Task :launcher:processReleaseResources FAILED > Task :launcher:mergeReleaseJavaResource Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.1.1/userguide/command_line_interface.html#sec:command_line_warnings 59 actionable tasks: 59 executed ] exit code: 1 UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <5160fdea082d4c479eac116da4ffc2de>:0) UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <5160fdea082d4c479eac116da4ffc2de>:0) UnityEditor.Android.Command.Run (System.String command, System.String args, System.String workingdir, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <5160fdea082d4c479eac116da4ffc2de>:0) UnityEditor.Android.AndroidJavaTools.RunJava (System.String args, System.String workingdir, System.Action`1[T] progress, System.String error) (at <5160fdea082d4c479eac116da4ffc2de>:0) UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, Unity.Android.Gradle.AndroidGradle androidGradle, System.String workingdir, System.String task, System.Action`1[T] progress) (at <5160fdea082d4c479eac116da4ffc2de>:0) Rethrow as GradleInvokationException: Gradle build failed UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, Unity.Android.Gradle.AndroidGradle androidGradle, System.String workingdir, System.String task, System.Action`1[T] progress) (at <5160fdea082d4c479eac116da4ffc2de>:0) UnityEditor.Android.PostProcessor.Tasks.BuildGradleProject.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <5160fdea082d4c479eac116da4ffc2de>:0) UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <5160fdea082d4c479eac116da4ffc2de>:0) Rethrow as BuildFailedException: Exception of type 'UnityEditor.Build.BuildFailedException' was thrown. UnityEditor.Android.PostProcessor.CancelPostProcess.AbortBuild (System.String title, System.String message, System.Exception ex) (at <5160fdea082d4c479eac116da4ffc2de>:0) UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <5160fdea082d4c479eac116da4ffc2de>:0) UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, AndroidPlayerBuildProgram.Data.AndroidPlayerBuildProgramOutput buildProgramOutput) (at <5160fdea082d4c479eac116da4ffc2de>:0) UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <5160fdea082d4c479eac116da4ffc2de>:0) UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.Int32 subtarget, 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) (at <0d6ce211ebbc47e1a35a84c3672ff58f>:0) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)