FileNotFoundException: Temp\gradleOut\launcher\build\outputs\bundle\release\launcher.aab does not exist

Does anyone have any idea why I get or how to fix this error:

FileNotFoundException: Temp\gradleOut\launcher\build\outputs\bundle\debug\launcher.aab does not exist
System.IO.File.Move (System.String sourceFileName, System.String destFileName) (at <fb001e01371b4adca20013e0ac763896>:0)
UnityEditor.Android.PostProcessor.Tasks.BuildGradleProject.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <102ea0a8f6844066abf6a495b9136b2c>:0)
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <102ea0a8f6844066abf6a495b9136b2c>:0)
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) (at <102ea0a8f6844066abf6a495b9136b2c>:0)
UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <102ea0a8f6844066abf6a495b9136b2c>:0)
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) (at <007193b7fa9c4ad1be5b26df6a654213>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

I am trying to build an Android App Bundle for publishing on Play Store, but the build is failing with the error mentioned above. I don’t have any problem building an apk file. When I browse the location from the error, I see a launcher-release.aab file, but no launcher.aab file. It looks like somehow the naming of the file is wrong.

Using Unity 2019.4.11f1, with custom AndroidManifest.xml, custom Gradle Main Template and Launcher Gradle Template for Android 11, using External Dependency Manager and external Android SDK (updated) and Gradle 5.6.4

@AugmentedSpaceAgency
Hello there!

I’ve found a solution.
You should do as they say here but instead of " classpath ‘com.android.tools.build:gradle:3.6.0’ " you should write "classpath ‘com.android.tools.build:gradle:3.4.3’ "

Another solution that doesn’t require to change the gradle version:
https://forum.unity.com/threads/bundle-release-launcher-aab-does-not-exist-2019-4-16f1.1025302/#post-6780950

Wow I go the Solution!!
Just add the following files in Plugin Folder
https://drive.google.com/drive/folders/1Fbosfmgn4f-bwWgkFAmOZPYjMOrDfsL5?usp=sharing