[UE4 4.12.5] - Android Devices Not Recognized in Launcher

Hi all,

I’m trying to launch my game onto my Android phone, Samsung S7, but I’m not seeing it appear as an option to launch. I am seeing it in other places. If I go to ProjectLauncher, I can attempt to launch theg project on the phone, but it fails and I see the error: Program.Main: ERROR: AutomationTool terminated with exception: ERROR: GetBuildPlatform: No BuildPlatform found for Android

Attached are the screenshots of what I’m seeing. It seems like part of the engine is seeing my device, and the other part of it isn’t. Any help would be greatly appreciated. The project is a blueprint only.

Hello,

Take a look at this documentation and ensure you have run through all of the steps:

https://docs.unrealengine.com/latest/INT/Platforms/Android/GettingStarted/1/index.html

Hi fellow Sean,

I deleted everything from E:/NVPACK and E:/NVidia and did a re-install. I noticed I had installed Android 1R4 instead of 1R4u2, the instructions say to install 1R4 but the picture shows 1R4u2.

However, after re-downloading everything and following the steps, I’m still seeing the same thing.

If it helps, I also get this warning when I try to run things through ProjectLauncher:

WindowsPlatform.get_Compiler: WARNING: Visual C++ 2015 toolchain does not appear to be correctly installed. Please verify that “Common Tools for Visual C++ 2015” was selected when installing Visual Studio 2015.

Is there anything I need to do in Project Settings - Android? Attached below is what it currently looks like:

For that warning, you need to make sure that you have Visual Studio 2015 installed, as well as the Common Tools for Visual C++ option enabled, which you can enable through the installer.

Also, could you show a screenshot of your Edit->Project Settings->Android SDK window so I could see those settings?

I have VS15 and Common Tools for C++ installed after your help with me on the other thread. It’s still throwing up the same error, and when I try to just package the project it tells me that I have missing components from the Android… which is incredibly confusing because I have no idea WHAT components I’m missing. The environment vars seem like they’re set. My only guess from the linked guide is that I’m using Visual Studio 2015 and it says that only versions below 2015 are supported, but I’m not sure how I’d get a version below 2015.

Below are 2 screenshots, one of the SDK and one of my files to show that the two folders are in the correct locations.
alt text

A couple of things to try:

  • Make sure that you have set up your phone to “trust” your computer with the message that pops up when you plug it in.
  • Ensure that the phone is in developer mode.
  • Try restarting the PC.
  • Try using a different USB port for the phone.

Let me know if any of that helps!

Hi Sean,

Unfortunately, I had tried restarting the PC and using a USB before. My phone had the pop up when it started and my phone was in developer mode.

Is there any chance that there’s a problem with something old installed? I’ve been working on making an android game on and off since UE 4.3, and I (believe?) there was a switch in how its pushed to the phone.

I wouldn’t think that would be the issue, but it’s possible. Could you please provide the output log after you attempt to launch it again?

I got the same Issue here, though on a Nexus 5, Ive launched on it successfully in older Versions


link text

Hello,

For that warning, you need to make sure that you have Visual Studio 2015 installed, as well as the Common Tools for Visual C++ option enabled, which you can enable through the installer.

Also, ensure that you have gone into your launcher under the Library tab, selected the arrow next to your version’s launch button, and ensured to have Android checked under Target Platforms.

Hi,

I had this issue last night as well. After searching the internet I couldn’t find a solution.
I noticed it coudnt find “game/thirdpersonbp” or something similar in a log. So I figured it might be trying to access components of the engine i had not installed.

Got it working in the end by installing the Android target platform in the engine settings. ( Epic launcher> Library> Engine “Launch” dropdown> Options> Android target platform.)

Next time I opened up my project, my device was listed in the Launch buttons dropdown in the engine.

Hope this helps,

Fatih

i have the same problem because

“Make sure that your are installing CodeWorks for Android 1R4u2 and then click the Next button.” documentation

1R4 is right case and working for me

please update documentation!

I use UE 4.15.0, VS 2015 Community