Unreal Engine 5.1 android problem with project packing

Hi, I was successful to build app on android (app Icon is there, but cant run it ), but Package project is not working, see log attached to this thread. Can someone help me with this ? On older versions I was reading something about downloading .dotnet 3.1 but in visual studio I can’t even install it (I have 3.5). (on mobile app I get: “Failed to open descriptor file …/…/…/myprojectname/myproject.uproject”)

See log in atachment

Log.txt (141.6 KB)

Ok, guys, I resolved it, thanks to this thread, and because something other went bad:

SetupAndroid.bat Not Working for Any Engine Anymore!!! - Development / Platform & Builds - Epic Developer Community Forums (unrealengine.com)

Here’s how I fixed it:

  1. Go into Android Studio and under Configure → SDK Manager
  2. On the SDK Tools tab, select “Show Package Details” in the bottom right
  3. Uncheck Android SDK command-line Tools (latest)
  4. Check Android SDK command-line Tools 8.0
  5. Click Apply
  6. In Windows go to “C:\Users\USERNAME\AppData\Local\Android\Sdk\cmdline-tools” and rename the 8.0 folder to “latest”
  7. Run SetupAndroid.bat again

I think that was everything. Basically just need to downgrade the command line tools. You could also go into the SetupAndroid.bat file and change the path from “latest” to 8.0 if you want, either way should work.

1 Like

Best solution out there. It is sad Epic never cared to updated their docs.