I am a beginner attempting to set up a simple Android project following an online tutorial. I have tried this process using Unreal Engine versions 5.3.2 and 5.5; however, I have encountered the same issue with both versions.
The error prompts me to accept the SDK license (see screenshot) and mentions a missing package.xml file, specifically expected under the directory:
Engine\Source\ThirdParty\Android\package.xml.
Upon inspection, I found that the file does not exist. Below is the output of the directory’s contents:
PS C:\ue\UE_5.3\Engine\Source\ThirdParty\Android> dir
Directory: C:\ue\UE_5.3\Engine\Source\ThirdParty\Android
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 12/16/2024 5:48 PM detex
PS C:\ue\UE_5.3\Engine\Source\ThirdParty\Android>
It appears that something might have gone wrong with the installation, or this could be a bug with Unreal Engine 5. How to resolve this issue?
I should have mentioned earlier that I had all SDKs and NDKs installed, as I frequently work on Android development. However, the real solution was Vandit's final suggestion:
“Reinstall Android Support in UE: If the problem persists, consider reinstalling the Android support packages through Unreal Engine’s setup process.”
In summary, the key step is illustrated in the screenshot below.
Thank you for your assistance.