I can’t package for Android. I’ve had this problem with other versions as well.
Every time the packaging will stop and gives me this error:
Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)
I’ve tried uninstalling and reinstalling UE4, Visual Studio Community 2015 and Android SDK.
I’m not using any plug-ins and this even happens with brand new projects based on templates without changes.
I made sure Project Settings > Platforms > Android > APKPackaging says “Platform files are writeable” and is green.
I have the latest versions of Android SDK and the JDK.
Every time I feel like I need to give up before losing my mind. Unity successfully builds for android so I know it can’t be the Android SDK. I just don’t know what else to do.
Please, help me. Please.
Here is the whole output log of the packaging on a txt.
Could you please provide the following screen shots -
Packaging settings->Project Settings, Android SDK settings and Android settings.
Are you packaging “for distribution”?
In your log this is where things go wrong -
UATHelper: Packaging (Android (ATC)): Program.Main: ERROR: AutomationTool terminated with exception: System.IO.DirectoryNotFoundException: No se puede encontrar una parte de la ruta de acceso ‘C:\Users\Michael\AppData\Local\Android\android-sdk\extras’.
Based on my fall and learn knowledge of packaging for android.
Cheers man! From working with android I have learn’t that most of the packaging issues arise from not correctly setting up the Android SDK. Great to know you got it working!