Automation Tool failed to run successfully

Hi!

I’m a beginner and trying to get my project to work on Samsung Gear VR but i have a problem trying to package the project. When I try to package the project it says that the automationtool was unable to run succesfully. How can I fix this? Heres the end of the log:[link text][1]

61404-the+end+of+the+log.txt (8.09 KB)

Hey Unrealistic Engineer,

Is this the full log or just the end, as the title describes? If it’s simply just the end of the log, could you please upload the full log so I can look over the errors more closely. I also wanted to make sure that you’ve set up [AndroidWorks][1] properly?

Looking forward to hearing back from you, thanks!

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

Hey, thanks for the reply!:slight_smile:

Yes, the previous message included only the end of the log, here’s the full log in its entirety: link text

Can you check whether or not I’ve installed AndroidWorks correctly from that code?

It looks like you may not have your Android SDK settings set up correctly, here is a visual example that should help you:

61693-androidsdk.jpg

It seems to me that I have everything in their correct folders, the only thing I have missing is that Location of JAVA option. Could that be the answer? How do I get that option?

Hey,

Have you tried following the [Android SDK Mac instructions][1]? You need both Java 6 and 7 in order for this to work on a Mac.

Thanks!

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

Hey,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you!

Hi!

Sorry it took so long to get back, I had so many things to do. Yes, I installed both Java 6 and 7 but I still don’t have Location of JAVA as an option in the Android SDK settings. Is there something else I have to do or should I try to install Java again?

Thanks!

Have you tried updating your version of the Engine after you’ve verified that your Java is updated? Did you get your version of the engine from Binary or Source?

Looking forward to hearing back from you, thanks!

It’s binary I think, since I just downloaded it from unrealengine.com. Yes I have the latest version of Unreal Engine 4.9 and there’s still no Location of Java option in the Android SDK settings. Is that because I have installed it incorrectly or is there something else I have to do?

It says in the code that “Template target file up to date so not writing.” Does this mean that Java is not up to date?

Thanks!

Yes, make sure that you have BOTH Java 6 and 7 installed on your Mac. You might need to restart after it’s installed.

OK, thanks! But I’m still wondering 1 question: Should that Location of Java option appear there automatically in the Android SDK settings when I have installed both Java 6 and 7 or do I have to set it up somehow in the Unreal Engine settings? My intuition tells me that it has to be set up but am I wrong about that? Should it be there automatically?

Which version of the Mac OSX are you on?

Setting up a Mac Environment (OS X Yosemite)

There’s no need for device drivers on Mac

Setting up a Mac Environment (OS X El Capitan)

  • Install Java OS X 2015-001 (Download Java for OS X 2017-001)
  • Double click the downloaded file to unzip
  • Double click the package icon
  • Proceed with installation

[Android Quick Start][1]

Setting Up Unreal Engine Projects for Android Development | Unreal Engine 5.1 Documentation

I’m on OS X Maverick.

Yes, I installed again Java 6 and this time Java 8 since 7 is no longer available and I ran the AndroidWorks-1R1-osx.dmg in that folder but I still didn’t get the option in the Android SDK Settings. Could it be that I have installed AndroidWorks incorrectly?

I doublechecked with our Mac Developer, Mavericks should not have any trouble getting Android set up.

As long as you have the Java for OSX and the Android SDK (which you’d install using the TADP installer in Engine/Extras/Android) it should work fine.

Keep in mind that once all of this is installed, you’ll need to restart the editor. Make sure that the paths are set in the SDK Android section of Project Settings.

Well, I installed them quite a few times over and over again and I still don’t get it. But my friend told me that he actually managed to package this same project in his computer without any trouble so I think I could study a little bit what kind of settings he has in place. He also found Location of Java option in the Android SDK settings.

Have you tried ‘Verifying’ your version of the Engine yet? Have you tried 4.9.2 or 4.10 Preview yet? If not, would you mind installing that on your Mac and seeing if those options appear or not?

I tried that and the option didn’t appear but no problem, I may have found the solution: “For Gear VR development you need to run the Source version of UE4 from Github, its not that difficult to set up and get going.” That’s what I found from one thread and the same answer from . They also said that they got the automation tool error too when they didn’t have the source version.

So I found a [ video][1] that may help you with the issue you’re running in to. Here is also our [documentation][2] that is on the Gear VR development.

I also wanted to point out that I spoke with our Mac Developer and Java is always installed in the same location therefore, you don’t need to have that option within Android SDK.

Could you provide me with your newest if you’re still encountering an issue?

https://www./watch?v=PXGe-O_PWVI
[2]: https://docs.unrealengine.com/latest/INT/Platforms/GearVR/index.html