'files' is not recognized as an internal or external command

Iā€™ve been trying to fix this for almost a month now and Iā€™ve already tried multiple tutorials on how to setup and package for android but this problem still always appears even on different versions of SDK and NDK.

Iā€™ve also already fixed the ā€˜dotnetā€™ is not recognized as an internal or external command, but I have no idea about the ā€˜filesā€™

Which host OS are you using, and which version?
What is your default shell set to?
Which versions of the .net framework have you installed?
Are you building from github or using the Epic installer? If so, which version?

Iā€™m currently using Windows 10, version 22H2
sorry Iā€™m not familiar with shell set, is it the windows powershell?
for the .net framework:
ā€¢ .NET Core SDK 3.1.424
ā€¢ .NET Core Runtime 3.1.30
ā€¢ ASP.NET Core Runtime 3.1.30
ā€¢ .NET Core Windows Desktop Runtime 3.1.30
and I think Iā€™ve build the project in Epic Installer UE5 5.0.1

Iā€™ve also already fixed the ā€˜dotnetā€™ is not recognized as an internal or external command

It may be that the fix wasnā€™t enough?

I think Unreal needs .NET version 4.6 or later. I donā€™t know if ā€œ.NET Coreā€ counts as ā€œlaterā€ or not, because Microsoft versioning around this is confusing.

Also, it may be sensitive to Visual Studio versions ā€“ if you install version 2019 and 2022 at their latest versions, that will in turn include some dependencies that are necessary. Even if youā€™re building for Android, it may have a dependency on VS.

ā€œFilesā€ is not a built-in command in powershell. Maybe thereā€™s some hidden dependency of some other project that youā€™re not installing?

I donā€™t know if this is the actual problem for you, but it has at least a 15% chance of helping :slight_smile:

1 Like

Thank you for replying, Iā€™ll try the .NET version 4.6 or later and some more different versions of Visual studio.

Iā€™ll update here if I can fix the problem.