Cant launch/package new project on Android

Hello,

I haven’t previously done Android development in UE4, so I’m trying to set it up for the first time. This is the error that I’m getting: “ERROR: No target name was specified on the command-line”.

To get to where I am now, this is what I’ve done, I followed these official guides:

Aside from that, I’ve also manually put in the proper paths for the SDK, JDK, and NDK, here’s what that looks like. Also, here is what my Android platform settings look like, also, here is the log file.

After some debugging, I’ve gathered this information:

  • The error occurs when trying to parse the command line info, here’s a link to the file that throws the exception(if you haven’t got your Github linked to Epic and Unreal Engine, you can’t see that file, but here is it’s relative path: “Engine/Source/Programs/UnrealBuildTool/Configuration/TargetDescriptor.cs”).
  • I’ve tried to launch the project from the ProjectLauncher to get some more information, here what that looked like.
  • I also tried building an Android apk from Unity to my phone just to make sure it wasn’t an issue with my hardware, although, the ProjectLauncher kind of gave me that information anyway.

I greatly appreciate any help I can get, this is getting pretty frustrating. Thanks in advance!

EDIT: Forgot to add the log, it’s added now!

Bump… There’s got to be something that can help me? It can’t be impossible to build a game to my android phone without any help to get from any documentation or community :frowning:

For anyone curious, I “solved” the issue by downgrading to 4.21.2, and did the exact same thing, just worked …