I’m using the following:
- List item
- Unreal Engine 5.0.2
- Android Studio 2021.1.1
- Android SDK 12 (API 31)
- Android NDK 21.4.7075529
- 14" M1 Max MacBook Pro
- Oppo Reno Z (non-sdcard) – (Connected via USB and is properly detected by ADB)
Issue
I’m trying to make a successful Android Package of the AR Template and then install on my Android Phone. I’ve been able to debug and complete the packaging from Unreal Editor but when I try to manually install the package via Install_AR_Test_universal.command
but I fail at the part when it is trying to inject/install the OBB. Here is the terminal output:
andreivictor@Andreis-MacBook-Pro Android_Multi % ./Install_AR_Test_universal.command
Installing existing application. Failures here indicate a problem with the device (connection or storage permissions) and are fatal.
Performing Streamed Install
Success
Removing old data. Failures here are usually fine - indicating the files were not on the device.
rm: /sdcard/UnrealGame/AR_Test: No such file or directory
rm: /sdcard/UnrealGame/UECommandLine.txt: No such file or directory
rm: /sdcard/obb/net.andreivictor.AR_Test: No such file or directory
rm: /sdcard/Android/obb/net.andreivictor.AR_Test: No such file or directory
rm: /sdcard/Download/obb/net.andreivictor.AR_Test: No such file or directory
Installing new data. Failures here indicate storage problems (missing SD card or bad permissions) and are fatal.
Trying to start file server net.andreivictor.AR_Test
Did not find package with receiver
ERROR: Unable to connect to JZGMOZINTW5PYHCQ
There was an error installing the game or the obb file. Look above for more info.
Things to try:
Check that the device (and only the device) is listed with \"$ADB devices\" from a command prompt.
Make sure all Developer options look normal on the device
Check that the device has an SD card.
So ultimately I do have an installed APK on my device but it lacks the OBB contents.
Can someone tell me why the AFS is failing to connect? What should I do?