Why can’t i install the game on my phone using the .bat file?
When i package the game for android, it comes with a .bat install file, so i can install the game on my device
HOWEVER…
When i open it, it gives me errors:
Here’s the text:
B:\Unreal Engine Projects\AmongTheDeadTwos\ANDROYDD YA'LL\Android_ASTC>setlocal
B:\Unreal Engine Projects\AmongTheDeadTwos\ANDROYDD YA'LL\Android_ASTC>set ANDROIDHOME=B:\Android Works\android-sdk-windows
B:\Unreal Engine Projects\AmongTheDeadTwos\ANDROYDD YA'LL\Android_ASTC>if "B:\Android Works\android-sdk-windows" == "" set ANDROIDHOME=B:/AndroidWorks/android-sdk-windows
B:\Unreal Engine Projects\AmongTheDeadTwos\ANDROYDD YA'LL\Android_ASTC>set ADB=B:\Android Works\android-sdk-windows\platform-tools\adb.exe
B:\Unreal Engine Projects\AmongTheDeadTwos\ANDROYDD YA'LL\Android_ASTC>set DEVICE=
B:\Unreal Engine Projects\AmongTheDeadTwos\ANDROYDD YA'LL\Android_ASTC>if not "" == "" set DEVICE=-s
B:\Unreal Engine Projects\AmongTheDeadTwos\ANDROYDD YA'LL\Android_ASTC>for /F "delims=" %A in ('B:\Android Works\android-sdk-windows\platform-tools\adb.exe shell "echo $EXTERNAL_STORAGE"') do @set STORAGE=%A
'B:\Android' is not recognized as an internal or external command,
operable program or batch file.
Uninstalling existing application. Failures here can almost always be ignored.
B:\Unreal Engine Projects\AmongTheDeadTwos\ANDROYDD YA'LL\Android_ASTC>B:\Android Works\android-sdk-windows\platform-tools\adb.exe uninstall com.nicky.atdo
'B:\Android' 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) and are fatal.
B:\Unreal Engine Projects\AmongTheDeadTwos\ANDROYDD YA'LL\Android_ASTC>B:\Android Works\android-sdk-windows\platform-tools\adb.exe install AmongTheDeadTwos-armv7-es2.apk
'B:\Android' is not recognized as an internal or external command,
operable program or batch file.
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.
Press any key to continue . . .
What device am i using?
I’m using a Samsung Galaxy S8. USB Debugging is on, and my device is recognized when i use the adb devices
command in Powershell. it does not contain an SD card, i am using Internal storage only (64GB)
So what’s the problem?
Really appreciate if someone can help me out. Thank you.