unreal engine 4.27 : LogPlayLevel: Build-tool 34.0.0 is missing DX at…
- User
unreal engine 4.27 : LogPlayLevel: Build-tool 34.0.0 is missing DX at C:\Users\Tinik\AppData\Local\Android\Sdk\build-tools\34.0.0\dx.bat LogPlayLevel: FAILURE: Build failed with an exception. LogPlayLevel: * What went wrong: LogPlayLevel: Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'. LogPlayLevel: > Installed Build Tools revision 34.0.0 is corrupted. Remove and install again using the SDK Manager. 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 25s LogPlayLevel: Error: ERROR: cmd.exe failed with args /c "C:\Users\Tinik\Documents\Unreal Projects\DynamicPhoneMusic\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: 34.583870 LogPlayLevel: BUILD FAILED PackagingResults: Error: Launch failed! Unknown Error
- Assistant
This error message suggests that the build tool version 34.0.0 is missing an essential file called "dx.bat" at the specified location. It also indicates that the installed Build Tools revision 34.0.0 is corrupted and needs to be reinstalled using the SDK Manager.
To resolve this issue, follow these steps:
- Open the Android SDK Manager.
- Look for the Build Tools version 34.0.0 and uninstall it.
- Once uninstalled, reinstall the Build Tools version 34.0.0 from the SDK Manager.
- After reinstalling, make sure that the "dx.bat" file is present in the specified location.
- Restart Unreal Engine and try building the project again.
If the issue persists, you can try the following additional steps:
- Open the project settings in Unreal Engine.
- Go to the Android section and make sure the correct SDK directory and Build Tools version are selected.
- Clean the project by selecting "Clean Project..." in the File menu.
- Rebuild the project by selecting "Build Project..." in the File menu.
If the problem still persists, you may need to seek further help from the Unreal Engine community or support.
- User
- Assistant
This error message indicates that there are issues with the installed Build Tools revision 34.0.0. The error suggests removing the corrupted version and reinstalling it using the SDK Manager.
To resolve this issue, follow these steps:
- Open the Android SDK Manager.
- Look for the Build Tools version 34.0.0 and uninstall it.
- Once uninstalled, reinstall the Build Tools version 34.0.0 from the SDK Manager.
- Make sure that the "dx.bat" file is present in the specified location: C:\Users\Tinik\AppData\Local\Android\Sdk\build-tools\34.0.0.
- Restart Unreal Engine and try building the project again.
If the problem persists, you can try the following additional steps:
- Delete the
repositories.cfgfile located in the following directory: C:\Users\Tinik.android. - Clean the project by selecting "Clean Project..." in the File menu of Unreal Engine.
- Rebuild the project by selecting "Build Project..." in the File menu.
If the issue still occurs, you may need to seek further help from the Unreal Engine community or support.