Mac Android Development Launch Error (RunUAT ERROR: AutomationTool was unable to run successfully.)

I’m attempting to launch an app on a Nexus 7, but whenever I “Launch” it I get an “Unknown Error”.
I am following the “Android Quick start” Guide and can not get the 3rd Person Blueprint to launch. Am I missing something?
I’m using a Nexus 7, Unreal 4.15.1, OS 10.12.3, CodeWorks 1R6
Log & Screenshots

Here I even did a video of my install, what am I missing?

Hey natemac00,

From reading your logs there are a few things you might want to modify and/or update still.

“[javac] warning: android/support/v4/app/NotificationCompat.class(android/support/v4/app:NotificationCompat.class): major version 51 is newer than 50, the highest major version supported by this compiler.”

I would make sure the java compiler is also up to date as well. I noticed you ran through the process and never restarted your computer. Sometimes restarting your machine after updating an SDK or similar files, require a restart for the changes to take affect.

The next error I noticed, “Program.Main: ERROR: AutomationTool terminated with exception: System.IO.FileNotFoundException: /Volumes/Scratch Disk/Dropbox/Unreal Projects/AndroidProject/Intermediate/Android/APK/bin/AndroidProject-debug.apk does not exist”

Basically it is missing an .apk file which it looks like you opted out of using. I would check to make sure you are packaging into an .apk file to see if that resolves the issue as well.

Let me know if you have further questions or need additional assistance.

Cheers,

I went into a lot more detail here in exactly all the steps I took.
I am able to get this work on 4.14.


  1. Install UE 4.12.5
  2. Uninstalled Java(https://www.java.com/en/download/hel...stall_java.xml)
  3. Reboot
  4. Uninstalled NVIDIA CodeWorks & removed NVIDIA folder & .NVIDIA folder
  5. Reboot
  6. Installed JRE 6 (http://support.apple.com/kb/DL1572)
  7. Installed JRE 7u79 (http://www.oracle.com/technetwork/ja...s-1880261.html)
  8. Installed JRE 8u121 or latest version (https://java.com/en/download/)
  9. Reboot
  10. Run UE 4.12.5 (At this point I was able to get past my earlier errors)
  11. Run UE 4.15 (I’m able to compile and deploy to my Nexus 7 only to the Splash Screen)
  12. Run UE 4.15.1 (Original Error occurs)
  13. Run 4.14.3 (Lot’s of warning but did Deploy to the Splash Screen)
  14. Uninstalled Java
  15. Re-Installed JRE 6 (http://support.apple.com/kb/DL1572)
  16. Re-Installed JRE 7u79 (http://www.oracle.com/technetwork/ja...s-1880261.html)
  17. Run 4.14.3 (Still Java warnings but seems to be work)
  18. Run 4.15.1 (Original Error occurs)

The issue is 4.15.
I can install 1R4u2 or 1R5, nothing works in 4.15, in I install 4.14, everything works just fine.

  • Uninstalled Java
    (https://www.java.com/en/download/hel...stall_java.xml)
  • Uninstalled CodeWorks & Deleted NVIDA and .NVIDIA folder.
  • Restarted
  • Installed Java Developers Kit 8u121 ONLY (jdk-8u121-macosx-x64.dmg)
  • Restarted
  • Installed CodeWorks 1R5(not 4u2) from the Extra Folder.
  • Restarted
  • Set SDK, NDK & ANT Locations UE
  • 4.14.3 Deploys Android Apps with no issue

I did not install Java 6 or 7
I did do the JAVA_HOME tutorial after the fact, I’m not sure it did anything though. (http://www.sajeconsultants.com/how-t...e-on-mac-os-x/)
-It did not have a file for emac .profile that it talked about, I did create one though.

Still am not able to Deploy in 4.15

So looking at your steps and the description and compared to the recommended steps for Android Quick Start, when I go to download the SDK for the respective engine release, it downloads the IR5 and not the IR6 which you have installed. That would be where I look first, to make sure your SDK is compatible with the engine version you are using.

Thank you,

Solution: Don’t use 4.15.

No one has given be a better solution then that.