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 package my android project

Using 4.19.2

In editor console: UATHelper: Empaquetado (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Download https://jcenter.bintray.com/com/android/support/support-core-utils/25.2.0/support-core-utils-25.2.0.aar UATHelper: Empaquetado (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Download https://jcenter.bintray.com/com/android/support/support-core-ui/25.2.0/support-core-ui-25.2.0.aar UATHelper: Empaquetado (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Download https://jcenter.bintray.com/com/android/support/support-fragment/25.2.0/support-fragment-25.2.0.aar UATHelper: Empaquetado (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): FAILURE: Build failed with an exception. UATHelper: Empaquetado (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): What went wrong: UATHelper: Empaquetado (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): A problem occurred configuring project ':app'. UATHelper: Empaquetado (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): > Could not find support-v4.aar (com.android.support:support-v4:25.2.0). UATHelper: Empaquetado (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Searched in the following locations: UATHelper: Empaquetado (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): https://jcenter.bintray.com/com/android/support/support-v4/25.2.0/support-v4-25.2.0.aar UATHelper: Empaquetado (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Try: UATHelper: Empaquetado (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. UATHelper: Empaquetado (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): BUILD FAILED UATHelper: Empaquetado (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Total time: 5 mins 16.244 secs UATHelper: Empaquetado (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): ERROR: cmd.exe failed with args /c "C:\Users*\Documents\Unreal Projects\Gosht 4.19\Intermediate/Android/APK\gradle\rungradle.bat" :app:assembleDebug UATHelper: Empaquetado (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): (see C:\Users*\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.19\UAT_Log.txt for full exception trace) UATHelper: Empaquetado (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): AutomationTool exiting with ExitCode=1 (Error_Unknown) UATHelper: Empaquetado (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): BUILD FAILED

Packaging works on 4.16, but not in this version.

In logs: UEDeployAndroid.MakeApk: ====08/06/2018 23:19:20====PERFORMING FINAL APK PACKAGE OPERATION================================================ UEDeployAndroid.CreateRunGradle: UEDeployAndroid.CreateRunGradle: Creating rungradle.bat to work around commandline length limit (using unused drive letter Z:) UEDeployAndroid.RunCommandLineProgramWithException: Making .apk with Gradle... ExceptionUtils.PrintExceptionInfo: ============================================================================== ExceptionUtils.PrintExceptionInfo: ERROR: cmd.exe failed with args /c "C:\Users\Ricardo\Documents\Unreal Projects\Gosht 4.19\Intermediate/Android/APK\gradle\rungradle.bat" :app:assembleDebug ExceptionUtils.PrintExceptionInfo: (see C:\Users\Ricardo\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.19\UAT_Log.txt for full exception trace) ExceptionUtils.PrintExceptionInfo: ExceptionUtils.PrintExceptionInfo: BuildException: cmd.exe failed with args /c "C:\Users\Ricardo\Documents\Unreal Projects\Gosht 4.19\Intermediate/Android/APK\gradle\rungradle.bat" :app:assembleDebug ExceptionUtils.PrintExceptionInfo: en UnrealBuildTool.UEDeployAndroid.RunCommandLineProgramWithException(String WorkingDirectory, String Command, String Params, String OverrideDesc, Boolean bUseShellExecute) ExceptionUtils.PrintExceptionInfo: en UnrealBuildTool.UEDeployAndroid.MakeApk(AndroidToolChain ToolChain, String ProjectName, String ProjectDirectory, String OutputPath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bMakeSeparateApks, Boolean bIncrementalPackage, Boolean bDisallowPackagingDataInApk, Boolean bDisallowExternalFilesDir) ExceptionUtils.PrintExceptionInfo: en UnrealBuildTool.UEDeployAndroid.PrepForUATPackageOrDeploy(FileReference ProjectFile, String ProjectName, DirectoryReference ProjectDirectory, String ExecutablePath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bIsDataDeploy) ExceptionUtils.PrintExceptionInfo: en AndroidPlatform.Package(ProjectParams Params, DeploymentContext SC, Int32 WorkingCL) ExceptionUtils.PrintExceptionInfo: en Project.Package(ProjectParams Params, Int32 WorkingCL) ExceptionUtils.PrintExceptionInfo: en BuildCookRun.DoBuildCookRun(ProjectParams Params) ExceptionUtils.PrintExceptionInfo: en BuildCookRun.ExecuteBuild() ExceptionUtils.PrintExceptionInfo: en AutomationTool.BuildCommand.Execute() ExceptionUtils.PrintExceptionInfo: en AutomationTool.Automation.Execute(List`1 CommandsToExecute, Dictionary`2 Commands) ExceptionUtils.PrintExceptionInfo: en AutomationTool.Automation.Process(String[] Arguments) ExceptionUtils.PrintExceptionInfo: en AutomationTool.Program.MainProc(Object Param) ExceptionUtils.PrintExceptionInfo: en AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param) ExceptionUtils.PrintExceptionInfo: en AutomationTool.Program.Main() ExceptionUtils.PrintExceptionInfo: ============================================================================== Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)

Product Version: UE 4.19
Tags:
more ▼

asked Jun 08 '18 at 09:56 PM in Packaging & Deployment

avatar image

Pataxu
26 4 6 12

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Solved my myself temporaly. Changed the setting 'Package with Gradle' to false.

more ▼

answered Jun 09 '18 at 07:31 AM

avatar image

Pataxu
26 4 6 12

avatar image Pataxu Jun 10 '18 at 01:06 PM

Solved by myself by the definitive way. Had to update Android SDK.

(comments are locked)
10|2000 characters needed characters left
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