4.8.1 Android BUILD FAILED

I use this tutorial: Setting Up Unreal Engine Projects for Android Development | Unreal Engine 5.1 Documentation
But when I tried package my game for android I had 2 errors:

C:\NVPACK\android-sdk-windows\tools\ant\build.xml:720: The following error occurred while executing this line.
C:\NVPACK\android-sdk-windows\tools\ant\build.xml:734: Compile failed; see the compiler error output for details.

Can anyone suggest a solution of these problems?

Hi Tracker,

If you’re using source build of the editor, you need to build UE4Game manually before you can package. This can be done in Visual Studio by selecting UE4 as the project, Development as the Configuration, Android as the platform, and then select build.

Hi Tracker,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.