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.