Error installing a built Android-Shipping_universal.bat with not recognized as an internal or external command, operable program or batch file.

Erikwong
Wed, 12 Jul 2023 07:11:16 +0000
Platform & Builds

Hi, I have an issue with installing a built Android-Shipping_universal.bat.

The error I got from cmd.exe as following:

D:\Package\Android_ASTC>setlocal

D:\Package\Android_ASTC>if NOT “” == “” (call \HostWin64\Android\SetupEnvironmentVars.bat )

D:\Package\Android_ASTC>set ANDROIDHOME=

D:\Package\Android_ASTC>if “” == “” set ANDROIDHOME=C:/Users/Erik Wong/AppData/Local/Android/Sdk

D:\Package\Android_ASTC>set ADB=C:/Users/Erik Wong/AppData/Local/Android/Sdk\platform-tools\adb.exe

D:\Package\Android_ASTC>set AFS=.\win-x64\UnrealAndroidFileTool.exe

D:\Package\Android_ASTC>set DEVICE=

D:\Package\Android_ASTC>if not “” == “” set DEVICE=-s

D:\Package\Android_ASTC>for /F “delims=” %A in (‘C:/Users/Erik Wong/AppData/Local/Android/Sdk\platform-tools\adb.exe shell “echo $EXTERNAL_STORAGE”’) do @set STORAGE=%A
‘C:/Users/Erik’ is not recognized as an internal or external command,
operable program or batch file.

Uninstalling existing application. Failures here can almost always be ignored.

D:\Package\Android_ASTC>C:/Users/Erik Wong/AppData/Local/Android/Sdk\platform-tools\adb.exe uninstall com.highendimage.smartbilik1
‘C:/Users/Erik’ is not recognized as an internal or external command,
operable program or batch file.
D:\Package\Android_ASTC>if not “” == “” set DEVICE=-s

D:\Package\Android_ASTC>for /F “delims=” %A in (‘C:/Users/Erik Wong/AppData/Local/Android/Sdk\platform-tools\adb.exe shell “echo $EXTERNAL_STORAGE”’) do @set STORAGE=%A
‘C:/Users/Erik’ is not recognized as an internal or external command,
operable program or batch file.

Uninstalling existing application. Failures here can almost always be ignored.

D:\Package\Android_ASTC>C:/Users/Erik Wong/AppData/Local/Android/Sdk\platform-tools\adb.exe uninstall com.highendimage.smartbilik1
‘C:/Users/Erik’ is not recognized as an internal or external command,
operable program or batch file.

Installing existing application. Failures here indicate a problem with the device (connection or storage permissions) an

This is a succeded built Android-ASTC with UE5.2.

I hope someone can help me with this as this is the first time I installing it from an Android Studio built project. Previously building on Android Codework, I’ve had no issue at all.