Android Project not building in UE 4.8.1

Hope someone can tell me what is going wrong. My project would build in Android ETC2 just fine in UE4 ver 4.8.0 now since ver. 4.8.1 and 4.8.2 it will not build. Apparently I am not smart enough to understand what it is trying to tell me. Maybe someone out there can understand it and help me? My project builds just fine in Windows and in HTML5. Here is the log file, it is a long file so I am posting only from where it appears to begin failing at the JAVA compiling:

MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: -pre-compile:
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: -compile:
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] Compiling 70 source files to G:\CutterAndCutterMobile\Intermediate\Android\APK\bin\classes
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] warning: com\google\android\gms\auth\GoogleAuthUtil.class(com\google\android\gms\auth:GoogleAuthUtil.class): major version 51 is newer than 50, the highest major version supported by this compiler.
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] It is recommended that the compiler be upgraded.
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] warning: com\google\android\gms\common\api\GoogleApiClient.class(com\google\android\gms\common\api:GoogleApiClient.class): major version 51 is newer than 50, the highest major version supported by this compiler.
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] It is recommended that the compiler be upgraded.
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] warning: com\google\android\gms\common\GooglePlayServicesUtil.class(com\google\android\gms\common:GooglePlayServicesUtil.class): major version 51 is newer than 50, the highest major version supported by this compiler.
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] It is recommended that the compiler be upgraded.
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] warning: com\google\android\gms\ads\AdRequest.class(com\google\android\gms\ads:AdRequest.class): major version 51 is newer than 50, the highest major version supported by this compiler.
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] It is recommended that the compiler be upgraded.
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] warning: com\google\android\gms\ads\AdView.class(com\google\android\gms\ads:AdView.class): major version 51 is newer than 50, the highest major version supported by this compiler.
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] It is recommended that the compiler be upgraded.
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] warning: com\google\android\gms\ads\AdSize.class(com\google\android\gms\ads:AdSize.class): major version 51 is newer than 50, the highest major version supported by this compiler.
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] It is recommended that the compiler be upgraded.
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] warning: com\google\android\gms\ads\AdListener.class(com\google\android\gms\ads:AdListener.class): major version 51 is newer than 50, the highest major version supported by this compiler.
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] It is recommended that the compiler be upgraded.
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] warning: com\google\android\gms\plus\Plus.class(com\google\android\gms\plus:Plus.class): major version 51 is newer than 50, the highest major version supported by this compiler.
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] It is recommended that the compiler be upgraded.
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] G:\CutterAndCutterMobile\Intermediate\Android\APK\src\com\YourCompany\Gallery\DownloaderActivity.java:104: package R does not exist
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] int stringResourceID = paused ? R.string.text_button_resume :
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] ^
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] G:\CutterAndCutterMobile\Intermediate\Android\APK\src\com\YourCompany\Gallery\DownloaderActivity.java:105: package R does not exist
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] R.string.text_button_pause;
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] ^
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] G:\CutterAndCutterMobile\Intermediate\Android\APK\src\com\YourCompany\Gallery\DownloaderActivity.java:263: package R does not exist
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] mStatusText.setText(R.string.text_verifying_download);
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] ^
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] G:\CutterAndCutterMobile\Intermediate\Android\APK\src\com\YourCompany\Gallery\DownloaderActivity.java:463: package R does not exist
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] mStatusText.setText(R.string.text_validation_failed);
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] ^
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] G:\CutterAndCutterMobile\Intermediate\Android\APK\src\com\YourCompany\Gallery\DownloaderActivity.java:488: package R does not exist
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] setContentView(R.layout.downloader_progress);
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] ^
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] G:\CutterAndCutterMobile\Intermediate\Android\APK\src\com\YourCompany\Gallery\DownloaderActivity.java:490: package R does not exist
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] mPB = (ProgressBar) findViewById(R.id.progressBar);
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] ^
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] G:\CutterAndCutterMobile\Intermediate\Android\APK\src\com\YourCompany\Gallery\DownloaderActivity.java:491: package R does not exist
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] mStatusText = (TextView) findViewById(R.id.statusText);
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] ^
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] G:\CutterAndCutterMobile\Intermediate\Android\APK\src\com\YourCompany\Gallery\DownloaderActivity.java:492: package R does not exist
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] mProgressFraction = (TextView) findViewById(R.id.progressAsFraction);
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] ^
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] G:\CutterAndCutterMobile\Intermediate\Android\APK\src\com\YourCompany\Gallery\DownloaderActivity.java:493: package R does not exist
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] mProgressPercent = (TextView) findViewById(R.id.progressAsPercentage);
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] ^
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] G:\CutterAndCutterMobile\Intermediate\Android\APK\src\com\YourCompany\Gallery\DownloaderActivity.java:494: package R does not exist
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] mAverageSpeed = (TextView) findViewById(R.id.progressAverageSpeed);
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] ^
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] G:\CutterAndCutterMobile\Intermediate\Android\APK\src\com\YourCompany\Gallery\DownloaderActivity.java:495: package R does not exist
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] mTimeRemaining = (TextView) findViewById(R.id.progressTimeRemaining);
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] ^
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] G:\CutterAndCutterMobile\Intermediate\Android\APK\src\com\YourCompany\Gallery\DownloaderActivity.java:496: package R does not exist
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] mDashboard = findViewById(R.id.downloaderDashboard);
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] ^
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] G:\CutterAndCutterMobile\Intermediate\Android\APK\src\com\YourCompany\Gallery\DownloaderActivity.java:497: package R does not exist
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] mCellMessage = findViewById(R.id.approveCellular);
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] ^
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] G:\CutterAndCutterMobile\Intermediate\Android\APK\src\com\YourCompany\Gallery\DownloaderActivity.java:498: package R does not exist
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] mPauseButton = (Button) findViewById(R.id.pauseButton);
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] ^
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] G:\CutterAndCutterMobile\Intermediate\Android\APK\src\com\YourCompany\Gallery\DownloaderActivity.java:499: package R does not exist
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] mWiFiSettingsButton = (Button) findViewById(R.id.wifiSettingsButton);
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] ^
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] G:\CutterAndCutterMobile\Intermediate\Android\APK\src\com\YourCompany\Gallery\DownloaderActivity.java:521: package R does not exist
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] Button resumeOnCell = (Button) findViewById(R.id.resumeOverCellular);
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] ^
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] G:\CutterAndCutterMobile\Intermediate\Android\APK\src\com\YourCompany\Gallery\DownloaderActivity.java:782: package R does not exist
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] mAverageSpeed.setText(getString(R.string.kilobytes_per_second,
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] ^
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] G:\CutterAndCutterMobile\Intermediate\Android\APK\src\com\YourCompany\Gallery\DownloaderActivity.java:784: package R does not exist
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] mTimeRemaining.setText(getString(R.string.time_remaining,
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] ^
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] warning: com\google\android\gms\ads\AdRequest$Builder.class(com\google\android\gms\ads:AdRequest$Builder.class): major version 51 is newer than 50, the highest major version supported by this compiler.
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] It is recommended that the compiler be upgraded.
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] warning: com\google\android\gms\plus\Account.class(com\google\android\gms\plus:Account.class): major version 51 is newer than 50, the highest major version supported by this compiler.
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] It is recommended that the compiler be upgraded.
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] Note: Some input files use or override a deprecated API.
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] Note: Recompile with -Xlint:deprecation for details.
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] 18 errors
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: [javac] 10 warnings
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: BUILD FAILED
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: C:\NVPACK\android-sdk-windows ools\ant\build.xml:720: The following error occurred while executing this line:
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: C:\NVPACK\android-sdk-windows ools\ant\build.xml:734: Compile failed; see the compiler error output for details.
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: Total time: 7 seconds
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: UnrealBuildTool Exception: ERROR: cmd.exe failed with args /c “C:/NVPACK/apache-ant-1.8.2/bin/ant.bat” debug
MainFrameActions: Packaging (Android (ETC2)): CommandUtils.Run: Run: Took 72.0111097s to run UnrealBuildTool.exe, ExitCode=5
MainFrameActions: Packaging (Android (ETC2)): ErrorReporter.Error: ERROR: AutomationTool error: Command failed (Result:5): D:\UnrealEngine\Unreal Engine\4.8\Engine\Binaries\DotNET\UnrealBuildTool.exe Gallery Android Shipping G:\CutterAndCutterMobile\Gallery.uproject -noxge -rocket -NoHotReloadFromID
MainFrameActions: Packaging (Android (ETC2)): E -ignorejunk. See logfile for details: ‘UnrealBuildTool.txt’
MainFrameActions: Packaging (Android (ETC2)): BuildCommand.Execute: ERROR: BUILD FAILED
MainFrameActions: Packaging (Android (ETC2)): Program.Main: ERROR: AutomationTool terminated with exception:
MainFrameActions: Packaging (Android (ETC2)): Program.Main: ERROR: Exception in AutomationTool: Command failed (Result:5): D:\UnrealEngine\Unreal Engine\4.8\Engine\Binaries\DotNET\UnrealBuildTool.exe Gallery Android Shipping G:\CutterAndCutterMobile\Gallery.uproject -noxge -rocket -NoHotReloadFromID
MainFrameActions: Packaging (Android (ETC2)): E -ignorejunk. See logfile for details: ‘UnrealBuildTool.txt’
MainFrameActions: Packaging (Android (ETC2)): Stacktrace: at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary2 EnvVars) MainFrameActions: Packaging (Android (ETC2)): at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary2 EnvVars)
MainFrameActions: Packaging (Android (ETC2)): at AutomationTool.UE4Build.BuildWithUBT(String ProjectName, String TargetName, UnrealTargetPlatform TargetPlatform, String Config, String UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, Boolean ForceFlushMac, Boolean DisableXGE, String InAddArgs, Boolean ForceUnity, Dictionary2 EnvVars) MainFrameActions: Packaging (Android (ETC2)): at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InForceNonUnity, Boolean InForceUnity, Dictionary2 PlatformEnvVars) MainFrameActions: Packaging (Android (ETC2)): at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL) MainFrameActions: Packaging (Android (ETC2)): at BuildCookRun.DoBuildCookRun(ProjectParams Params) MainFrameActions: Packaging (Android (ETC2)): at BuildCommand.Execute() MainFrameActions: Packaging (Android (ETC2)): at AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary`1 Commands)
MainFrameActions: Packaging (Android (ETC2)): at AutomationTool.Automation.Process(String] CommandLine)
MainFrameActions: Packaging (Android (ETC2)): at AutomationTool.Program.MainProc(Object Param)
MainFrameActions: Packaging (Android (ETC2)): at AutomationTool.InternalUtils.RunSingleInstance(MainProc Main, Object Param)
MainFrameActions: Packaging (Android (ETC2)): at AutomationTool.Program.Main()
MainFrameActions: Packaging (Android (ETC2)): Program.Main: ERROR: Command failed (Result:5): D:\UnrealEngine\Unreal Engine\4.8\Engine\Binaries\DotNET\UnrealBuildTool.exe Gallery Android Shipping G:\CutterAndCutterMobile\Gallery.uproject -noxge -rocket -NoHotReloadFromIDE -ignorejunk. See logfile fo
MainFrameActions: Packaging (Android (ETC2)): r details: ‘UnrealBuildTool.txt’
MainFrameActions: Packaging (Android (ETC2)): ProcessManager.KillAll: Trying to kill 0 spawned processes.
MainFrameActions: Packaging (Android (ETC2)): Program.Main: AutomationTool exiting with ExitCode=5
MainFrameActions: Packaging (Android (ETC2)): Domain_ProcessExit
MainFrameActions: Packaging (Android (ETC2)): ProcessManager.KillAll: Trying to kill 0 spawned processes.
MainFrameActions: Packaging (Android (ETC2)): copying UAT log files…
MainFrameActions: Packaging (Android (ETC2)): RunUAT.bat ERROR: AutomationTool was unable to run successfully.
MainFrameActions: Packaging (Android (ETC2)): BUILD FAILED

I since updated java to jdk 1.7.0 and solved the javac warnings. Here is the only error I have left. I have been searching for the log file ‘UnrealBuildTool.txt’ on my computer with no luck so far.

Packaging (Android (ETC2)): UnrealBuildTool: 1 error generated.
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: -------- End Detailed Actions Stats -----------------------------------------------------------
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: G:\CutterAndCutterMobile\Binaries\Android\Gallery-Android-Shipping-armv7-es2.so
MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool: Total build time: 16.63 seconds
MainFrameActions: Packaging (Android (ETC2)): CommandUtils.Run: Run: Took 16.7449146s to run UnrealBuildTool.exe, ExitCode=5
MainFrameActions: Packaging (Android (ETC2)): ErrorReporter.Error: ERROR: AutomationTool error: Command failed (Result:5): D:\UnrealEngine\Unreal Engine\4.8\Engine\Binaries\DotNET\UnrealBuildTool.exe Gallery Android Shipping G:\CutterAndCutterMobile\Gallery.uproject -noxge -rocket -NoHotReloadFromID
MainFrameActions: Packaging (Android (ETC2)): E -ignorejunk. See logfile for details: ‘UnrealBuildTool.txt’
MainFrameActions: Packaging (Android (ETC2)): BuildCommand.Execute: ERROR: BUILD FAILED
MainFrameActions: Packaging (Android (ETC2)): Program.Main: ERROR: AutomationTool terminated with exception:
MainFrameActions: Packaging (Android (ETC2)): Program.Main: ERROR: Exception in AutomationTool: Command failed (Result:5): D:\UnrealEngine\Unreal Engine\4.8\Engine\Binaries\DotNET\UnrealBuildTool.exe Gallery Android Shipping G:\CutterAndCutterMobile\Gallery.uproject -noxge -rocket -NoHotReloadFromID
MainFrameActions: Packaging (Android (ETC2)): E -ignorejunk. See logfile for details: ‘UnrealBuildTool.txt’
MainFrameActions: Packaging (Android (ETC2)): Stacktrace: at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary2 EnvVars) MainFrameActions: Packaging (Android (ETC2)): at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary2 EnvVars)
MainFrameActions: Packaging (Android (ETC2)): at AutomationTool.UE4Build.BuildWithUBT(String ProjectName, String TargetName, UnrealTargetPlatform TargetPlatform, String Config, String UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, Boolean ForceFlushMac, Boolean DisableXGE, String InAddArgs, Boolean ForceUnity, Dictionary2 EnvVars) MainFrameActions: Packaging (Android (ETC2)): at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InForceNonUnity, Boolean InForceUnity, Dictionary2 PlatformEnvVars) MainFrameActions: Packaging (Android (ETC2)): at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL) MainFrameActions: Packaging (Android (ETC2)): at BuildCookRun.DoBuildCookRun(ProjectParams Params) MainFrameActions: Packaging (Android (ETC2)): at BuildCommand.Execute() MainFrameActions: Packaging (Android (ETC2)): at AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary`1 Commands)
MainFrameActions: Packaging (Android (ETC2)): at AutomationTool.Automation.Process(String] CommandLine)
MainFrameActions: Packaging (Android (ETC2)): at AutomationTool.Program.MainProc(Object Param)
MainFrameActions: Packaging (Android (ETC2)): at AutomationTool.InternalUtils.RunSingleInstance(MainProc Main, Object Param)
MainFrameActions: Packaging (Android (ETC2)): at AutomationTool.Program.Main()
MainFrameActions: Packaging (Android (ETC2)): Program.Main: ERROR: Command failed (Result:5): D:\UnrealEngine\Unreal Engine\4.8\Engine\Binaries\DotNET\UnrealBuildTool.exe Gallery Android Shipping G:\CutterAndCutterMobile\Gallery.uproject -noxge -rocket -NoHotReloadFromIDE -ignorejunk. See logfile fo
MainFrameActions: Packaging (Android (ETC2)): r details: ‘UnrealBuildTool.txt’
MainFrameActions: Packaging (Android (ETC2)): ProcessManager.KillAll: Trying to kill 0 spawned processes.
MainFrameActions: Packaging (Android (ETC2)): Program.Main: AutomationTool exiting with ExitCode=5
MainFrameActions: Packaging (Android (ETC2)): Domain_ProcessExit
MainFrameActions: Packaging (Android (ETC2)): ProcessManager.KillAll: Trying to kill 0 spawned processes.
MainFrameActions: Packaging (Android (ETC2)): copying UAT log files…
MainFrameActions: Packaging (Android (ETC2)): RunUAT.bat ERROR: AutomationTool was unable to run successfully.
MainFrameActions: Packaging (Android (ETC2)): BUILD FAILED

I’m; having the exact same error. idk why.

Hi xjose97x,

The Package R errors are caused by multiple copies of the OBB downloader java files in different directories due to changing the package name at some point. 4.9 fixes this, but in the meantime, the way to fix this is to delete the project’s Intermediate/Android/APK/src and Build/Android/src directories and package again.

2 Likes

Thanks

This fixed my problem, appreciate the response.

I had same problem with 4.12.3. Your solution fixed this.

Just deleting the intermediate worked for me, deleting the build one caused all sorts of headaches I didn’t want at this hour.