How do I pack a game for android?

I made a really short mobile game and I want to test it on my phone. When I try to export the game I get this error:

I used the unreal documentation and did exactly what it said. I installed android studio v4.0, and SDK cmd-line tools in the default directory. Both cmd-line tools and build-tools(v33) are the latest versions. After a few restarts, I proceded to use the SetupAndroid.bat file in the unreal engine folder and it told me that it could not find what I installed. I did a bit of research and it seems to be a common problem. I had the edit a line to change the directory. After it said succes, I opened unreal and configured the project for android and Google Play.

On my first attempt I got an error, and after some searching I had to rename two files from d8 to dx. And this is how I got here. Bear in mind that before each attempt to export, I deleted the Intermediate folder from the project.

I have uninstalled android studio and all it’s tools. I’ve searched for some tutorials on how to package for android and they’re all different from each other(Everyone’s installing different things or does things differently). I tried following a couple of them but I still couldn’t successfully package.

So, starting over… how do I pack a ue4.27 game for android? I don’t know anything about android or android studio.