UEDeployAndroid.FilterStdOutErr: > Task :app:compileDebugJavaWithJavac
UEDeployAndroid.FilterStdOutErr: The following annotation processors are not incremental: compiler-1.1.1.jar (android.arch.lifecycle:compiler:1.1.1).
UEDeployAndroid.FilterStdOutErr: Make sure all annotation processors are incremental to improve your build speed.
UEDeployAndroid.FilterStdOutErr: Z:\app\src\main\java\com\epicgames\ue4\GameActivity.java:3531: ����: �Ҳ�������
UEDeployAndroid.FilterStdOutErr: powerManager.addThermalStatusListener(getMainExecutor(), new PowerManager.OnThermalStatusChangedListener() {
UEDeployAndroid.FilterStdOutErr: ^
UEDeployAndroid.FilterStdOutErr: ����: �� OnThermalStatusChangedListener
UEDeployAndroid.FilterStdOutErr: �: �� PowerManager
UEDeployAndroid.FilterStdOutErr: ע: ijЩ�����ļ�ʹ�û����ѹ�ʱ�� API��
UEDeployAndroid.FilterStdOutErr: ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣
UEDeployAndroid.FilterStdOutErr: 1 ������
UEDeployAndroid.FilterStdOutErr:
UEDeployAndroid.FilterStdOutErr: > Task :app:compileDebugJavaWithJavac FAILED
UEDeployAndroid.FilterStdOutErr:
UEDeployAndroid.FilterStdOutErr: 32 actionable tasks: 1 executed, 31 up-to-date
UEDeployAndroid.FilterStdOutErr: FAILURE: Build failed with an exception.
UEDeployAndroid.FilterStdOutErr:
UEDeployAndroid.FilterStdOutErr: * What went wrong:
UEDeployAndroid.FilterStdOutErr: Execution failed for task ‘:app:compileDebugJavaWithJavac’.
UEDeployAndroid.FilterStdOutErr: > Compilation failed; see the compiler error output for details.
UEDeployAndroid.FilterStdOutErr:
UEDeployAndroid.FilterStdOutErr: * Try:
UEDeployAndroid.FilterStdOutErr: 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.
UEDeployAndroid.FilterStdOutErr:
UEDeployAndroid.FilterStdOutErr: * Get more help at https://help.gradle.org
UEDeployAndroid.FilterStdOutErr:
UEDeployAndroid.FilterStdOutErr: BUILD FAILED in 12s
Log.WriteException: ==============================================================================
Log.WriteException: ERROR: cmd.exe failed with args /c “C:\Users\CYC\Desktop\AndroidQuickStart\Intermediate\Android\armv7\gradle\rungradle.bat” :app:assembleDebug
Log.WriteException: (see C:\Users\CYC\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+Epic+Engine+UE_4.26\Log.txt for full exception trace)
Log.WriteException:
Log.WriteException: BuildException: cmd.exe failed with args /c “C:\Users\CYC\Desktop\AndroidQuickStart\Intermediate\Android\armv7\gradle\rungradle.bat” :app:assembleDebug
Log.WriteException: 在 UnrealBuildTool.UEDeployAndroid.RunCommandLineProgramWithExceptionAndFiltering(String WorkingDirectory, String Command, String Params, String OverrideDesc, Boolean bUseShellExecute) 位置 D:\Build++UE4\Sync\Engine\Source\Programs\UnrealBuildTool\Platform\Android\UEDeployAndroid.cs:行号 1551
Log.WriteException: 在 UnrealBuildTool.UEDeployAndroid.MakeApk(AndroidToolChain ToolChain, String ProjectName, TargetType InTargetType, String ProjectDirectory, String OutputPath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, UnrealTargetConfiguration Configuration, Boolean bMakeSeparateApks, Boolean bIncrementalPackage, Boolean bDisallowPackagingDataInApk, Boolean bDisallowExternalFilesDir, Boolean bSkipGradleBuild) 位置 D:\Build++UE4\Sync\Engine\Source\Programs\UnrealBuildTool\Platform\Android\UEDeployAndroid.cs:行号 3977
Log.WriteException: 在 UnrealBuildTool.UEDeployAndroid.PrepForUATPackageOrDeploy(FileReference ProjectFile, String ProjectName, DirectoryReference ProjectDirectory, String ExecutablePath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, UnrealTargetConfiguration Configuration, Boolean bIsDataDeploy, Boolean bSkipGradleBuild) 位置 D:\Build++UE4\Sync\Engine\Source\Programs\UnrealBuildTool\Platform\Android\UEDeployAndroid.cs:行号 4568
Log.WriteException: 在 AndroidPlatform.Package(ProjectParams Params, DeploymentContext SC, Int32 WorkingCL) 位置 D:\Build++UE4\Sync\Engine\Source\Programs\AutomationTool\Android\AndroidPlatform.Automation.cs:行号 707
Log.WriteException: 在 Project.Package(ProjectParams Params, Int32 WorkingCL) 位置 D:\Build++UE4\Sync\Engine\Source\Programs\AutomationTool\Scripts\PackageCommand.Automation.cs:行号 35
Log.WriteException: 在 BuildCookRun.DoBuildCookRun(ProjectParams Params) 位置 D:\Build++UE4\Sync\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:行号 217
Log.WriteException: 在 BuildCookRun.ExecuteBuild() 位置 D:\Build++UE4\Sync\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:行号 39
Log.WriteException: 在 AutomationTool.BuildCommand.Execute() 位置 D:\Build++UE4\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:行号 263
Log.WriteException: 在 AutomationTool.Automation.Execute(List1 CommandsToExecute, Dictionary
2 Commands) 位置 D:\Build++UE4\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:行号 547
Log.WriteException: 在 AutomationTool.Automation.Process(String[] Arguments, StartupTraceListener StartupListener) 位置 D:\Build++UE4\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:行号 511
Log.WriteException: 在 AutomationTool.Program.MainProc(String[] Arguments, StartupTraceListener StartupListener) 位置 D:\Build++UE4\Sync\Engine\Source\Programs\AutomationTool\Program.cs:行号 175
Log.WriteException: 在 AutomationTool.Program.<>c__DisplayClass1_0.b__2() 位置 D:\Build++UE4\Sync\Engine\Source\Programs\AutomationTool\Program.cs:行号 87
Log.WriteException: 在 AutomationTool.InternalUtils.RunSingleInstance(Func`1 Main) 位置 D:\Build++UE4\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\Utils.cs:行号 737
Log.WriteException: 在 AutomationTool.Program.Main(String[] Arguments) 位置 D:\Build++UE4\Sync\Engine\Source\Programs\AutomationTool\Program.cs:行号 87
Log.WriteException: ==============================================================================
Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)
I tried some online methods, but they didn’t work very well
i have solved it