PackagingResults: Error: Cook failed

hello please, how can I fix this error?
PackagingResults: Error: Cook failed.

full output log
https://justpaste.it/4otmf

i’m trying for weeks please help ):

Anyone?

Check

Seems someone has a similar problem when cooking.
The user Light_Shock mentions

“I think that this is a bug in one of the blueprints that ships with Unreal. I changed the levels to cook to only those in my game (thereby excluding first person map etc.) and the issue cleared. The settings are in Projects \ packaging \ list of maps to include in packaged build.”

This is mainly in regard to the error "Mount point: ‘root:/’ is not mounted to a valid Root Path "

it doesn’t work ):

Are you using custom c++ classes? If so are you running the editor compiling it from your project file?

I don’t see it registering an sdk for android
you should have sdk 29 or 30

its easier for us to help if you print a screenshot of the log from unreal so we can see the red lines that are errors

I’m a noob, and I really appreciate your helping.
I forgot that tell you
the androidsetup.bat always keeps closing IDK why?
i have no idea what is the problem ):

I’m a noob, and I really appreciate your helping.
I forgot that tell you
the androidsetup.bat always keeps closing IDK why?
i have no idea what is the problem ):

ok.
If you are not sure, you need to have all of these things installed properly for building android.
android studio 4 from the archives NOT the latest android studio
in android studio with sdk manager you add
ndk 21, sdk 29 or 30, comand tools for your sdk plus latest command tools and cmake
also completely necessary:
JRE 8 NOT the latest which is 17
JDK 8 not the latest
jre runs the jvm that UE Gradle uses to run the tools in android studio, which then uses the ndk and sdk code to build the pkg.

any of those things is not installed and you are not going to build

1 Like

thank you sooooo much, but i got another erorr!
the erorr is
UAT Not Found

you don’t need that to install those things
it will do that
but
you can do it yourself
that tool will only help you dl the ndk and sdk
which you can do yourself from android studio sdk manager
ndk 21 and sdk 29 or 30
you still need the jdk and jre to run the tools in android studio

1 Like