title: Unity SignReleaseBundle Failed
body: <p>I am trying to build my Unity Project to Android but I keep getting the same Error when the build arrives at the gradle build. The error says that the task: signReleaseBundle failed. I am currently using Unity 2018.4.13f1. I was able to build it without any problems a few times but suddenly the next day, I tried to make a Update because I discovered a pretty bad bug, but it was then it stop working and I start receiving the error messages. </p>
  
  <p>The full error:</p>
  
  <pre><code>CommandInvokationFailure: Gradle build failed. 
  D:\Programme\Unity Hub\2018.4.8f1\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\OpenJDK\Windows\bin\java.exe -classpath "D:\Programme\Unity Hub\2018.4.8f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-5.1.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "bundleRelease"
  
  stderr[
  
  FAILURE: Build failed with an exception.
  
  * What went wrong:
  Execution failed for task ':signReleaseBundle'.
  &gt; 1 exception was raised by workers:
    java.lang.RuntimeException: java.lang.RuntimeException: jarsigner.exefailed with exit code 1 :
    jarsigner: key associated with artyon not a private key
  
  
  * 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 12s
  ]
  stdout[
  
  &gt; Configure project :
  WARNING: The option setting 'android.bundle.enableUncompressedNativeLibs=false' is experimental and unsupported.
  The current default is 'true'.
  
  
  &gt; Task :preBuild UP-TO-DATE
  &gt; Task :extractProguardFiles
  &gt; Task :preReleaseBuild UP-TO-DATE
  &gt; Task :compileReleaseRenderscript NO-SOURCE
  &gt; Task :generateReleaseResValues UP-TO-DATE
  &gt; Task :generateReleaseResources UP-TO-DATE
  &gt; Task :mergeReleaseResources UP-TO-DATE
  &gt; Task :checkReleaseManifest UP-TO-DATE
  &gt; Task :createReleaseCompatibleScreenManifests UP-TO-DATE
  &gt; Task :mainApkListPersistenceRelease UP-TO-DATE
  &gt; Task :processReleaseManifest
  &gt; Task :bundleReleaseResources
  &gt; Task :mergeReleaseShaders UP-TO-DATE
  &gt; Task :compileReleaseShaders UP-TO-DATE
  &gt; Task :generateReleaseAssets UP-TO-DATE
  &gt; Task :mergeReleaseAssets
  &gt; Task :compileReleaseAidl NO-SOURCE
  &gt; Task :generateReleaseBuildConfig UP-TO-DATE
  &gt; Task :prepareLintJar UP-TO-DATE
  &gt; Task :generateReleaseSources UP-TO-DATE
  &gt; Task :javaPreCompileRelease UP-TO-DATE
  &gt; Task :processReleaseResources
  &gt; Task :compileReleaseJavaWithJavac UP-TO-DATE
  &gt; Task :processReleaseJavaRes NO-SOURCE
  &gt; Task :transformResourcesWithMergeJavaResForRelease UP-TO-DATE
  
  &gt; Task :transformClassesAndResourcesWithR8ForRelease
  R8 is the new Android code shrinker. If you experience any issues, please file a bug at
  https://issuetracker.google.com, using 'Shrinker (R8)' as component name. You can
  disable R8 by updating gradle.properties with 'android.enableR8=false'.
  Current version is: 1.4.77 (build b74371231cb896b02f83285efb055b7c00ff64d8 from go/r8bot (luci-r8-ci-archive-0-eqqf)).
  
  
  &gt; Task :mergeReleaseJniLibFolders UP-TO-DATE
  &gt; Task :transformNativeLibsWithMergeJniLibsForRelease UP-TO-DATE
  &gt; Task :transformNativeLibsWithStripDebugSymbolForRelease UP-TO-DATE
  &gt; Task :buildReleasePreBundle
  &gt; Task :collectReleaseDependencies UP-TO-DATE
  &gt; Task :configureReleaseDependencies UP-TO-DATE
  &gt; Task :packageReleaseBundle
  &gt; Task :validateSigningRelease UP-TO-DATE
  &gt; Task :signingConfigWriterRelease UP-TO-DATE
  &gt; Task :signReleaseBundle FAILED
  
  Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
  Use '--warning-mode all' to show the individual deprecation warnings.
  See https://docs.gradle.org/5.1.1/userguide/command_line_interface.html#sec:command_line_warnings
  29 actionable tasks: 9 executed, 20 up-to-date
  ]
  exit code: 1
  UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at &lt;7ba523db75d04b42a8b9a4dd9587e521&gt;:0)
  UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at &lt;7ba523db75d04b42a8b9a4dd9587e521&gt;:0)
  UnityEditor.Android.Command.Run (System.String command, System.String args, System.String workingdir, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at &lt;7ba523db75d04b42a8b9a4dd9587e521&gt;:0)
  UnityEditor.Android.AndroidJavaTools.RunJava (System.String args, System.String workingdir, System.Action`1[T] progress, System.String error) (at &lt;7ba523db75d04b42a8b9a4dd9587e521&gt;:0)
  UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, System.String workingdir, System.String task, System.Action`1[T] progress) (at &lt;7ba523db75d04b42a8b9a4dd9587e521&gt;:0)
  Rethrow as GradleInvokationException: Gradle build failed
  UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, System.String workingdir, System.String task, System.Action`1[T] progress) (at &lt;7ba523db75d04b42a8b9a4dd9587e521&gt;:0)
  UnityEditor.Android.PostProcessor.Tasks.BuildGradleProject.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at &lt;7ba523db75d04b42a8b9a4dd9587e521&gt;:0)
  UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at &lt;7ba523db75d04b42a8b9a4dd9587e521&gt;:0)
  UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
  </code></pre>
  
  <p>I hope someone can help me.</p>