Failed retrieving UFS Manifest: adb: error: failed to stat remote object '/sdcard/UnrealGame/[project_name]/Manifest_UFSFiles_Android.txt': No such file or directory

I have been struggling for weeks with this issue (using UE5.0.3). I’m trying to build my game on Android but it always end up with the following error in the output log:

LogPlayLevel: Error: WARNING: Failed retrieving UFS Manifest: adb: error: failed to stat remote object '/sdcard/UnrealGame/[project_name]/Manifest_UFSFiles_Android.txt': No such file or directory

LogPlayLevel: Error: ERROR: Installation of apk 'D:\Unreal Projects\[project_name]\Binaries/Android\TuiitLab-Android-Shipping-arm64.apk' failed: [INSTALL_FAILED_USER_RESTRICTED: Invalid apk

This error occurs when I try to build by clicking on my phone in the platform tab
image_2023-07-06_124616982

However, the Output Log says “Build Sucessful” when I’m building by using the “Package Project” option instead.

But, I still can’t install the application on my phone this way too because there is an error when launching the install-shipping-arm64.bat (same error with universal.bat):

The device is connected and recognized by UE so it’s not the issue and all developer options are already activated and my phone have an SD card. The app used to build before, but I don’t why it doesn’t want to build/install anymore.

The same issue appears in any mode (Debug, Development or Shipping) and in any kind of build (ASTC, ETC2)

I’m taking any help since nothing I’ve found on internet so far have solved my issue. Thanks in advance!

Got the same issue with Quest 2, ue 5.2.
1 First solution : I created a new project from VR template and built it, it works
2 Also it seems it happens when packaging Shipping build. Development works

3 Works 99% - Problem with Build tools 34.0.0 version. Delete it and try 30.0.N version or 29.0.2. If you need 32 version or later (34.0.0) then think about d8.bat and lib/d8.jar files it needs rename / or dublicate and rename to dx.bat and dx.jar

2 Likes