Hi,
SOLUTION AT THE END
I’m trying to package the default first person shooter game to my android device (Samsung S4 - Lollipop).
I have installed all the driver, it is recognized via adb devices and inside UE4.
So when I try to launch it on my device, all goes well until it hangs forever on Deploying Executable and Assets to SGH_I337M. In the Log output: [DELETE_FAILED_INTERNAL_ERROR]
Then, If I go through the Project Launcher, and launch it with the Android_ETC1 Variant, I get the same error. [Here’s the log][2]
Then, If I package the project first, then try to install it with the .bat file, I get this:
D:\Temp\AndroidTest\Android_ETC1>setlocal
D:\Temp\AndroidTest\Android_ETC1>set ANDROIDHOME=C:\NVPACK\android-sdk-windows
D:\Temp\AndroidTest\Android_ETC1>if "C:\NVPACK\android-sdk-windows" == "" set AN
DROIDHOME=C:/NVPACK/android-sdk-windows
D:\Temp\AndroidTest\Android_ETC1>set ADB=C:\NVPACK\android-sdk-windows\platform-
tools\adb.exe
D:\Temp\AndroidTest\Android_ETC1>set DEVICE=
D:\Temp\AndroidTest\Android_ETC1>if not "" == "" set DEVICE=-s
D:\Temp\AndroidTest\Android_ETC1>for /F "delims=" %A in ('C:\NVPACK\android-sdk-
windows\platform-tools\adb.exe shell "echo $EXTERNAL_STORAGE"') do @set STORAGE=
%A
Uninstalling existing application. Failures here can almost always be ignored.
D:\Temp\AndroidTest\Android_ETC1>C:\NVPACK\android-sdk-windows\platform-tools\ad
b.exe uninstall com.GMDA.Test
Failure [DELETE_FAILED_INTERNAL_ERROR]
Installing existing application. Failures here indicate a problem with the devic
e (connection or storage permissions) and are fatal.
D:\Temp\AndroidTest\Android_ETC1>C:\NVPACK\android-sdk-windows\platform-tools\ad
b.exe install BasicVR-armv7-es2.apk
So pretty sure the problem is somewhere on my device. I have 5gb available on my phone + 2gb on an sd card.
Any help is appreciated! Thank you.
Edit: Also, it works in the mobile preview.
Edit 2: Tried it with Version 4.8, same error.
Edit 3: A few lines of command lines later, everytime I try to uninstall any package (adb uninstall com.GMDA.Test)existing or not, I get the error (DELETE_FAILED_INTERNAL_ERROR)
Edit 4: Digging deeper, I think it might be an Issue with Lollipop and write permissions on an sd card. Anybody have been successfully packaging for Lollipop?
Edit 5: If I try to install it manually, by putting the file directly on the phone, the file just doesn’t transfer. Small files (few kb) works. But 300Mb just stays at 0% forever.
SOLUTION: The USB Cable was the culprit. Use the official cable that came with the cellphone. A 10$ USB doesn’t mean it’s gonna work.