LogPlayLevel: Creating rungradle.bat to work around commandline length limit (using unused drive letter Z:)
LogPlayLevel: Making .apk with Gradle...
LogPlayLevel: 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.
LogPlayLevel: Daemon will be stopped at the end of the build stopping after processing
LogPlayLevel: > Task :app:preBuild UP-TO-DATE
LogPlayLevel: > Task :app:preDebugBuild UP-TO-DATE
LogPlayLevel: > Task :downloader_library:preBuild UP-TO-DATE
LogPlayLevel: > Task :downloader_library:preDebugBuild UP-TO-DATE
LogPlayLevel: > Task :downloader_library:compileDebugAidl NO-SOURCE
LogPlayLevel: > Task :permission_library:preBuild UP-TO-DATE
LogPlayLevel: > Task :permission_library:preDebugBuild UP-TO-DATE
LogPlayLevel: > Task :permission_library:compileDebugAidl NO-SOURCE
LogPlayLevel: > Task :app:compileDebugAidl UP-TO-DATE
LogPlayLevel: > Task :downloader_library:packageDebugRenderscript NO-SOURCE
LogPlayLevel: > Task :permission_library:packageDebugRenderscript NO-SOURCE
LogPlayLevel: > Task :app:compileDebugRenderscript NO-SOURCE
LogPlayLevel: > Task :app:generateDebugBuildConfig UP-TO-DATE
LogPlayLevel: > Task :app:javaPreCompileDebug UP-TO-DATE
LogPlayLevel: > Task :app:generateDebugResValues UP-TO-DATE
LogPlayLevel: > Task :app:generateDebugResources UP-TO-DATE
LogPlayLevel: > Task :downloader_library:compileDebugRenderscript NO-SOURCE
LogPlayLevel: > Task :downloader_library:generateDebugResValues UP-TO-DATE
LogPlayLevel: > Task :downloader_library:generateDebugResources UP-TO-DATE
LogPlayLevel: > Task :downloader_library:packageDebugResources UP-TO-DATE
LogPlayLevel: > Task :permission_library:generateDebugResValues UP-TO-DATE
LogPlayLevel: > Task :permission_library:compileDebugRenderscript NO-SOURCE
LogPlayLevel: > Task :permission_library:generateDebugResources UP-TO-DATE
LogPlayLevel: > Task :permission_library:packageDebugResources UP-TO-DATE
LogPlayLevel: > Task :app:mergeDebugResources UP-TO-DATE
LogPlayLevel: > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
LogPlayLevel: > Task :app:extractDeepLinksDebug UP-TO-DATE
LogPlayLevel: > Task :downloader_library:extractDeepLinksDebug UP-TO-DATE
LogPlayLevel: > Task :downloader_library:processDebugManifest UP-TO-DATE
LogPlayLevel: > Task :permission_library:extractDeepLinksDebug UP-TO-DATE
LogPlayLevel: > Task :permission_library:processDebugManifest UP-TO-DATE
LogPlayLevel: > Task :app:processDebugManifest UP-TO-DATE
LogPlayLevel: > Task :downloader_library:compileDebugLibraryResources UP-TO-DATE
LogPlayLevel: > Task :downloader_library:parseDebugLocalResources UP-TO-DATE
LogPlayLevel: > Task :downloader_library:generateDebugRFile UP-TO-DATE
LogPlayLevel: > Task :permission_library:compileDebugLibraryResources UP-TO-DATE
LogPlayLevel: > Task :permission_library:parseDebugLocalResources UP-TO-DATE
LogPlayLevel: > Task :permission_library:generateDebugRFile UP-TO-DATE
LogPlayLevel: > Task :app:processDebugResources FAILED
LogPlayLevel: FAILURE: Build failed with an exception.
LogPlayLevel: * What went wrong:
LogPlayLevel: Execution failed for task ':app:processDebugResources'.
LogPlayLevel: > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
LogPlayLevel:    > AAPT2 aapt2-4.0.0-6051327-windows Daemon #0: Unexpected error during link, attempting to stop daemon.
LogPlayLevel:      This should not happen under normal circumstances, please file an issue if it does.
LogPlayLevel: * Try:
LogPlayLevel: 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.
LogPlayLevel: * Get more help at https://help.gradle.org
LogPlayLevel: BUILD FAILED in 14s
LogPlayLevel: 23 actionable tasks: 1 executed, 22 up-to-date
LogPlayLevel: Error: ERROR: cmd.exe failed with args /c "C:\Users\Tinik\Documents\Unreal Projects\AndroidApp\Intermediate\Android\armv7\gradle\rungradle.bat" :app:assembleDebug
LogPlayLevel:        (see C:\Users\Tinik\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.27\Log.txt for full exception trace)
LogPlayLevel: AutomationTool exiting with ExitCode=1 (Error_Unknown)
LogPlayLevel: Completed Launch On Stage: Build Task, Time: 24.042114
LogPlayLevel: BUILD FAILED
PackagingResults: Error: Launch failed! Unknown Error
how to use gradle 6.1.1?