x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Can't use .bat to install game on Android

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 alt text

HOWEVER... When i open it, it gives me errors: alt text

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.

Product Version: UE 4.18
Tags:
sketch-4.png (42.0 kB)
sketch-5.png (221.9 kB)
more ▼

asked Feb 20 '18 at 03:20 PM in Packaging & Deployment

avatar image

gotgrassct
212 44 60 76

avatar image tylerlindell Mar 02 '18 at 11:48 PM

I'm facing the same issue with some variation - this is on a Galaxy Tab A ``` Builds\Android_ASTC>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.

...

Installing existing application. Failures here indicate a problem with the device (connection or storage permissions) and are fatal. ```

Possible solution: https://answers.unrealengine.com/questions/435283/delete-failed-internal-error-when-deploying-to-and.html - (didn't work)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Solved the issue. I had to uninstall the android studio/nv pack and delete it, and download a fresh install of it, and install the required API levels again, and the .bat file is now able to install the game on my phone!

more ▼

answered Mar 03 '18 at 12:03 AM

avatar image

gotgrassct
212 44 60 76

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

I've been trying to install UC Mini from http://ucminiapp.in/ is it safe to make changes if we got source code? Thanks!

more ▼

answered Mar 11 '18 at 10:00 PM

avatar image

Arpit W
1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question