I have a Pixel 7 that I am not able to deploy local Development builds to.
Here’s trimmed the command output from Install_ProjectNameClient_universal.bat:
B:\proj\LocalBuilds\Android>B:\proj\Tools\Binaries\android\sdk\platform-tools\adb.exe uninstall com.spryfox.projectname
Success
B:\proj\LocalBuilds\Android>B:\proj\Tools\Binaries\android\sdk\platform-tools\adb.exe install ProjectNameClient_universal.apk
Performing Streamed Install
Success
B:\proj\LocalBuilds\Android>B:\proj\Tools\Binaries\android\sdk\platform-tools\adb.exe shell pm list packages com.spryfox.projectname
package:com.spryfox.projectname
B:\proj\LocalBuilds\Android>B:\proj\Tools\Binaries\android\sdk\platform-tools\adb.exe shell pm grant com.spryfox.projectname android.permission.FOREGROUND_SERVICE 1>nul 2>&1
B:\proj\LocalBuilds\Android>B:\proj\Tools\Binaries\android\sdk\platform-tools\adb.exe shell pm grant com.spryfox.projectname android.permission.FOREGROUND_SERVICE_DATA_SYNC 1>nul 2>&1
B:\proj\LocalBuilds\Android>B:\proj\Tools\Binaries\android\sdk\platform-tools\adb.exe shell pm grant com.spryfox.projectname android.permission.POST_NOTIFICATIONS 1>nul 2>&1
B:\proj\LocalBuilds\Android>B:\proj\Tools\Binaries\android\sdk\platform-tools\adb.exe shell pm grant com.spryfox.projectname android.permission.READ_EXTERNAL_STORAGE 1>nul 2>&1
B:\proj\LocalBuilds\Android>B:\proj\Tools\Binaries\android\sdk\platform-tools\adb.exe shell pm grant com.spryfox.projectname android.permission.WRITE_EXTERNAL_STORAGE 1>nul 2>&1
B:\proj\LocalBuilds\Android>.\win-x64\UnrealAndroidFileTool.exe -p com.spryfox.projectname -k <key> push main.1.com.spryfox.projectname.Client.obb "^mainobb"
Trying to start file server com.spryfox.projectname
Did not find a bind listener
Unable to connect to <device>
Here’s relevant logcat output:
D UEFS : RemoteFileManagerActivity cmd: start, package = com.spryfox.projectname
D UEFS : onStartCommand 1 received start command com.spryfox.projectname
E UEFS : External storage state is mounted
E AndroidRuntime: FATAL EXCEPTION: main
E AndroidRuntime: Process: com.spryfox.projectname, PID: 15644
E AndroidRuntime: java.lang.RuntimeException: Unable to start service com.epicgames.unreal.RemoteFileManagerService@242a339 with Intent { act=com.epicgames.unreal.RemoteFileManager.intent.COMMAND2 xflg=0x4 cmp=com.spryfox.projectname/com.epicgames.unreal.RemoteFileManagerService (has extras) }
E AndroidRuntime: at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:5527)
E AndroidRuntime: at android.app.ActivityThread.-$$Nest$mhandleServiceArgs(Unknown Source:0)
E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2654)
E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:110)
E AndroidRuntime: at android.os.Looper.dispatchMessage(Looper.java:315)
E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:251)
E AndroidRuntime: at android.os.Looper.loop(Looper.java:349)
E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:9041)
E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:593)
E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:929)
E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.io.File.getAbsolutePath()' on a null object reference
E AndroidRuntime: at com.epicgames.unreal.RemoteFileManagerService.onStartCommand(RemoteFileManagerService.java:165)
E AndroidRuntime: at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:5511)
E AndroidRuntime: ... 10 more
“External storage state is mounted” is logging I added to verify Environment.getExternalStorageState(). Any ideas what could be going wrong?