Download

NVPACK - very large size, and API 23 error, please help!

I use 4.17 and 4.19 UE version.

I don’t knot why in every game I must have android errors in launching direct in phone or when I want to package game.

LogPlayLevel: Requires at least SDK API level 23, currently set to ‘android-21’
LogPlayLevel: ERROR: Can’t make an APK without SDK API ‘android-23’ minimum installed
LogPlayLevel: (see C:\Users\Tomo\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.19\UAT_Log.txt for full exception trace)
LogPlayLevel: AutomationTool exiting with ExitCode=1 (Error_Unknown)
LogPlayLevel: Completed Launch On Stage: Deploy Task, Time: 20.054108
LogPlayLevel: BUILD FAILED
PackagingResults: Error: Launch failed! Unknown Error

Last few days I tried every single method, and didn’t work. I have many errors in deploying to android, so I check my NVPACK folder and see that his size is 92 GB???

So I uninstall AndroidWorks, and delete NVPACK folder.

Now I install it from 4.19 EXTRA folder, and now size iz 35GB.
Is really that big that folder?

But problem is that I cant run my game on android, now it stucks on "Requires at least SDK API level 23".

SDK config folders is located correctly.
SDK api level is “latest”, and NDK api level I tested with “android-19”, or “android-21”, android-23", “latest” etc.

I have installed all packages od ANDROID 6.0 (API 23), in android SDK manager.

And why I have this problem, why still i have error that I need API 23 SDK - but I have instaled it??

yes, my phone is samsung A7 2017.

Enable Gradle didnt help

Ok - what is difference betwen Android SDK Manager and Chooser.exe program?

I noticed that API 23 didnt installed in chooser.exe in NVPACK. I installed itd.

Now I have other error.

Why is this so difficulty to make works? Env. variables are oke, I checked out.

LogPlayLevel: ERROR: System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
LogPlayLevel: at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
LogPlayLevel: at UnrealBuildTool.UEDeployAndroid.RunCommandLineProgramWithException(String WorkingDirectory, String Command, String Params, String OverrideDesc, Boolean bUseShellExecute)
LogPlayLevel: at UnrealBuildTool.UEDeployAndroid.UpdateProjectProperties(AndroidToolChain ToolChain, String UE4BuildPath, String ProjectName)
LogPlayLevel: at 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)
LogPlayLevel: at UnrealBuildTool.UEDeployAndroid.PrepForUATPackageOrDeploy(FileReference ProjectFile, String ProjectName, DirectoryReference ProjectDirectory, String ExecutablePath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bIsDataDeploy)
LogPlayLevel: at AndroidPlatform.Deploy(ProjectParams Params, DeploymentContext SC)
LogPlayLevel: at Project.Deploy(ProjectParams Params)
LogPlayLevel: at BuildCookRun.DoBuildCookRun(ProjectParams Params)
LogPlayLevel: at BuildCookRun.ExecuteBuild()
LogPlayLevel: at AutomationTool.BuildCommand.Execute()
LogPlayLevel: at AutomationTool.Automation.Execute(List1 CommandsToExecute, Dictionary2 Commands)
LogPlayLevel: at AutomationTool.Automation.Process(String] Arguments)
LogPlayLevel: at AutomationTool.Program.MainProc(Object Param)
LogPlayLevel: at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
LogPlayLevel: at AutomationTool.Program.Main()
LogPlayLevel: (see C:\Users\Tomo\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.19\UAT_Log.txt for full exception trace)
LogPlayLevel: AutomationTool exiting with ExitCode=1 (Error_Unknown)
LogPlayLevel: Completed Launch On Stage: Deploy Task, Time: 39.083214
LogPlayLevel: BUILD FAILED
PackagingResults: Error: Launch failed! Unknown Error

EDIT: eveything from this site is installed in Chooser.exe

https://docs.unrealengine.com/en-us/Platforms/Android/Reference

Ok, now I run game on 4.17 version and it works on android. What is differente betwen two version Epic?