Also having issues packaging. Extract of log below
[2020.01.16-06.36.26:215][550]UATHelper: Packaging (Android (ASTC)): :downloader_library:generateDebugSources UP-TO-DATE
[2020.01.16-06.36.26:215][550]UATHelper: Packaging (Android (ASTC)): :downloader_library:javaPreCompileDebug UP-TO-DATE
[2020.01.16-06.36.26:552][551]UATHelper: Packaging (Android (ASTC)): :downloader_library:compileDebugJavaWithJavac FAILED
[2020.01.16-06.36.26:552][551]UATHelper: Packaging (Android (ASTC)): FAILURE: Build failed with an exception.
[2020.01.16-06.36.26:552][551]UATHelper: Packaging (Android (ASTC)): * What went wrong:
[2020.01.16-06.36.26:552][551]UATHelper: Packaging (Android (ASTC)): Execution failed for task ‘:downloader_library:compileDebugJavaWithJavac’.
[2020.01.16-06.36.26:552][551]UATHelper: Packaging (Android (ASTC)): > Could not find tools.jar. Please check that C:\Program Files\Java\jre1.8.0_231 contains a valid JDK installation.
[2020.01.16-06.36.26:552][551]UATHelper: Packaging (Android (ASTC)): * Try:
[2020.01.16-06.36.26:552][551]UATHelper: Packaging (Android (ASTC)): 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.
[2020.01.16-06.36.26:552][551]UATHelper: Packaging (Android (ASTC)): * Get more help at https://help.gradle.org
[2020.01.16-06.36.26:552][551]UATHelper: Packaging (Android (ASTC)): BUILD FAILED in 21s
[2020.01.16-06.36.26:552][551]UATHelper: Packaging (Android (ASTC)): 30 actionable tasks: 3 executed, 27 up-to-date
[2020.01.16-06.36.27:218][552]UATHelper: Packaging (Android (ASTC)): ERROR: cmd.exe failed with args /c “C:\Users\Dino\Documents\Unreal Projects\DEBCalProject\Intermediate\Android\APK\gradle\rungradle.bat” :app:assembleDebug
[2020.01.16-06.36.27:218][552]UATHelper: Packaging (Android (ASTC)): (see C:\Users\Dino\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.24\Log.txt for full exception trace)
[2020.01.16-06.36.27:218][552]UATHelper: Packaging (Android (ASTC)): AutomationTool exiting with ExitCode=1 (Error_Unknown)
[2020.01.16-06.36.27:218][552]UATHelper: Packaging (Android (ASTC)): BUILD FAILED
[2020.01.16-06.36.27:218][552]PackagingResults: Error: Unknown Error
[2020.01.16-06.37.48:889][909]LogSlate: Took 0.013221 seconds to synchronously load lazily loaded font ‘…/…/…/Engine/Content/Slate/Fonts/DroidSansMono.ttf’ (77K)
It fails at “:downloader_library:compileDebugJavaWithJavac FAILED” apparently because it cannot find tools.jar, which sure enough does not exist anywhere on my PC. Best I can tell I have jre1.8.0_231 installed. So why does it not contain tool.jar? or how can I get tools.jar?
I have gone to Android Codeworks chooser.exe and have updated what I could. I have a problem with the NVidia Tegra installation though, it keeps complaining that no Visual Studio is installed (even though it is) and stops the installation. From what I read, UnReal prefers VS 2015 (I cannot find it online) but does work with VS2019, which I have installed.
I am currently updating Android SDK via the android.bat command mentioned by Mint Gorillaz.
Any assistance is welcome.
P.S. → just cannot understand why devs don’t simplify installation processes. It’s rather frustrating to waste so much time just getting everything setup. I fiddled with UnReal now for 5 years and have very little to show for it. It took me 3 months to self-learn Unity and produce an end product.