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 APK in newer engine version

Hello, I could not package for Android when using 4.20 nor 4.19 whereas with 4.14 and 4.8 it works well, I have CodeWorks installed and checked Android-SDK and all the paths to sdk, ndk, java etc are setup correctly as follows: SDK: D:/NVPACK/android-sdk-windows NDK: D:/NVPACK/android-ndk-r10e ANT: D:/NVPACK/apache-ant-1.8.2 JAVA: C:/Program Files/Java/jdk1.8.0_131 SDK API Level: matchndk NDK API Level: latest

here is the output log link text:

UATHelper: Packaging (Android (ETC2)): PACKAGE COMMAND STARTED UATHelper: Packaging (Android (ETC2)): ERROR: System.IO.FileNotFoundException: Could not find file 'D:\NVPACK\android-ndk-r10e\source.properties'. UATHelper: Packaging (Android (ETC2)): File name: 'D:\NVPACK\android-ndk-r10e\source.properties' UATHelper: Packaging (Android (ETC2)): at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) UATHelper: Packaging (Android (ETC2)): at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) UATHelper: Packaging (Android (ETC2)): at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) UATHelper: Packaging (Android (ETC2)): at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost) UATHelper: Packaging (Android (ETC2)): at System.IO.StreamReader..ctor(String path, Encoding encoding) UATHelper: Packaging (Android (ETC2)): at System.IO.File.InternalReadAllLines(String path, Encoding encoding) UATHelper: Packaging (Android (ETC2)): at UnrealBuildTool.AndroidToolChain..ctor(CppPlatform InCppPlatform, FileReference InProjectFile, Boolean bInUseLdGold, IReadOnlyList`1 InAdditionalArches, IReadOnlyList`1 InAdditionalGPUArches, Boolean bAllowMissingNDK) in D:\Build++UE4\Sync\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Platform\Andro id\AndroidToolChain.cs:line 210 UATHelper: Packaging (Android (ETC2)): at UnrealBuildTool.AndroidToolChain..ctor(FileReference InProjectFile, Boolean bInUseLdGold, IReadOnlyList`1 InAdditionalArches, IReadOnlyList`1 InAdditionalGPUArches) in D:\Build++UE4\Sync\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Platform\Android\AndroidToolChain.cs:line 132 UATHelper: Packaging (Android (ETC2)): at UnrealBuildTool.AndroidExports.CreateToolChain(FileReference ProjectFile) in D:\Build++UE4\Sync\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Platform\Android\AndroidExports.cs:line 81 UATHelper: Packaging (Android (ETC2)): at AndroidPlatform.Package(ProjectParams Params, DeploymentContext SC, Int32 WorkingCL) in D:\Build++UE4\Sync\Saved\CsTools\Engine\Source\Programs\AutomationTool\Android\AndroidPlatform.Automation.cs:line 284 UATHelper: Packaging (Android (ETC2)): at Project.Package(ProjectParams Params, Int32 WorkingCL) in D:\Build++UE4\Sync\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\PackageCommand.Automation.cs:line 37 UATHelper: Packaging (Android (ETC2)): at BuildCookRun.DoBuildCookRun(ProjectParams Params) in D:\Build++UE4\Sync\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 220 UATHelper: Packaging (Android (ETC2)): at BuildCookRun.ExecuteBuild() in D:\Build++UE4\Sync\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 41 UATHelper: Packaging (Android (ETC2)): at AutomationTool.BuildCommand.Execute() in D:\Build++UE4\Sync\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 112 UATHelper: Packaging (Android (ETC2)): at AutomationTool.Automation.Execute(List`1 CommandsToExecute, Dictionary`2 Commands) in D:\Build++UE4\Sync\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 562 UATHelper: Packaging (Android (ETC2)): at AutomationTool.Automation.Process(String[] Arguments, StartupTraceListener StartupListener) in D:\Build++UE4\Sync\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 532 UATHelper: Packaging (Android (ETC2)): at AutomationTool.Program.MainProc(String[] Arguments, StartupTraceListener StartupListener) in D:\Build++UE4\Sync\Saved\CsTools\Engine\Source\Programs\AutomationTool\Program.cs:line 174 UATHelper: Packaging (Android (ETC2)): at AutomationTool.Program.<>c_DisplayClass1_0.b_0() in D:\Build++UE4\Sync\Saved\CsTools\Engine\Source\Programs\AutomationTool\Program.cs:line 100 UATHelper: Packaging (Android (ETC2)): at AutomationTool.InternalUtils.RunSingleInstance(Func`1 Main) in D:\Build++UE4\Sync\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Utils.cs:line 725 UATHelper: Packaging (Android (ETC2)): at AutomationTool.Program.Main() in D:\Build++UE4\Sync\Saved\CsTools\Engine\Source\Programs\AutomationTool\Program.cs:line 100 UATHelper: Packaging (Android (ETC2)): (see C:\Users\TAREK\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+Program+Files+Epic+Games+UE_4.20\Log.txt for full exception trace) UATHelper: Packaging (Android (ETC2)): AutomationTool exiting with ExitCode=1 (Error_Unknown) UATHelper: Packaging (Android (ETC2)): BUILD FAILED

Product Version: UE 4.20
Tags:
log.txt (65.7 kB)
more ▼

asked Jul 21 '18 at 12:44 PM in Packaging & Deployment

avatar image

SHADESPIRIT
1 3 1 3

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

1 answer: sort voted first

Downloaded CodeWorks 1R7 and ran Chooser.exe and checked ndk r15c, solved my problem

more ▼

answered Jul 22 '18 at 01:14 AM

avatar image

SHADESPIRIT
1 3 1 3

(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