unreal engine 4.27 LogPlayLevel: Mapping new ns…
- User
unreal engine 4.27 LogPlayLevel: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01 LogPlayLevel: unexpected element (uri:"", local:"base-extension"). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level> LogPlayLevel: File C:\Users\Tinik.android\repositories.cfg could not be loaded. LogPlayLevel: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01 LogPlayLevel: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01 LogPlayLevel: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01 LogPlayLevel: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/03 to old ns http://schemas.android.com/sdk/android/repo/addon2/01 LogPlayLevel: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01 LogPlayLevel: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/03 to old ns http://schemas.android.com/sdk/android/repo/repository2/01 LogPlayLevel: Mapping new ns to old ns LogPlayLevel: Mapping new ns to old ns LogPlayLevel: Mapping new ns to old ns LogPlayLevel: Mapping new ns to old ns LogPlayLevel: Mapping new ns to old ns LogPlayLevel: Mapping new ns to old ns LogPlayLevel: Mapping new ns to old ns LogPlayLevel: Mapping new ns to old ns LogPlayLevel: Mapping new ns to old ns LogPlayLevel: Mapping new ns to old ns LogPlayLevel: Mapping new ns to old ns LogPlayLevel: Mapping new ns to old ns LogPlayLevel: Mapping new ns to old ns LogPlayLevel: Mapping new ns to old ns LogPlayLevel: Mapping new ns to old ns LogPlayLevel: Mapping new ns to old ns LogPlayLevel: Mapping new ns to old ns LogPlayLevel: Mapping new ns to old ns LogPlayLevel: Mapping new ns to old ns LogPlayLevel: Mapping new ns to old ns LogPlayLevel: Mapping new ns to old ns LogPlayLevel: Mapping new ns to old ns LogPlayLevel: Mapping new ns to old ns LogPlayLevel: Mapping new ns to old ns LogPlayLevel: Mapping new ns to old ns LogPlayLevel: Mapping new ns to old ns LogPlayLevel: unexpected element (uri:"", local:"base-extension"). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level> 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 LogPlayLevel: BUILD FAILED in 13s 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: 23.300026 LogPlayLevel: BUILD FAILED PackagingResults: Error: Launch failed! Unknown Error
- Assistant
The error message suggests that there is a problem with the Android build tools in your Unreal Engine project.
Here are a few possible solutions you can try:
-
Remove and reinstall the build tools: Open the Android SDK Manager and uninstall the current version of the build tools (34.0.0). Then, reinstall the build tools using the SDK Manager. After that, try building your project again.
-
Check the repositories.cfg file: The error message mentions that the file "C:\Users\Tinik.android\repositories.cfg" could not be loaded. Ensure that the file exists in the specified location and that it is not corrupted. If the file is missing or corrupted, try recreating it or restoring it from a backup.
-
Update Unreal Engine: Make sure you are using the latest version of Unreal Engine (in this case, Unreal Engine 4.27). Updating to the latest version might resolve any compatibility issues with the Android build tools.
-