Download

Can't package on GearVR with Samsung S7 Edge on 4.11.0

Hi,

I’ve recently got my GearVR and the latest S7 Edge mobile device from Samsung. To the best of my knowledge and despite numerous attempts and approaches, I can’t seem to get the engine to package a simple game as an android app. I’ve tried both ETC2 and ASTC compression formats.
I have all the latest SDKs installed, I’ve placed the oculussig file in the proper folder, I’ve enabled the gearVR plugin, checked all the options in the packaging section, pretty much everything.

The compiler informs me at the end that: “PackagingResults:Error: Error Unknown Error”. Looking upward I see this:

C:\NVPACK\android-sdk-windows ools\ant\build.xml:716: The following error occurred while executing this line:
Packaging (Android (ETC2)): C:\NVPACK\android-sdk-windows ools\ant\build.xml:730: Compile failed; see the compiler error output for details.

Opening up the .xml file the lines 715, 716(the one that fails) and 717 read as follows:
<target name="-compile" depends="-pre-build, -build-setup, -code-gen, -pre-compile">
<do-only-if-manifest-hasCode elseText=“hasCode = false. Skipping…”>
<!-- merge the project’s own classpath and the tested project’s classpath →

Above this the compiler lists a long set of similar errors of the type:

MainFrameActions: Packaging (Android (ETC2)): [javac] G:\Dropbox\Public\geogeo\UE4\GearVR\TemporaryTest\Intermediate\Android\APK\src\com\google\android\vending\expansion\downloader\impl\DownloadNotification.java:159: error: cannot find symbol
MainFrameActions: Packaging (Android (ETC2)): [javac] mNotification.setLatestEventInfo(mContext, mLabel, mCurrentText, mContentIntent);
MainFrameActions: Packaging (Android (ETC2)): [javac] ^
MainFrameActions: Packaging (Android (ETC2)): [javac] symbol: method setLatestEventInfo(Context,CharSequence,String,PendingIntent)
MainFrameActions: Packaging (Android (ETC2)): [javac] location: variable mNotification of type Notification
MainFrameActions: Packaging (Android (ETC2)): [javac] G:\Dropbox\Public\geogeo\UE4\GearVR\TemporaryTest\Intermediate\Android\APK\src\com\android\vending\licensing\APKExpansionPolicy.java:382: error: cannot find symbol
MainFrameActions: Packaging (Android (ETC2)): [javac] List<NameValuePair> extraList = URLEncodedUtils.parse(rawExtras, “UTF-8”);
MainFrameActions: Packaging (Android (ETC2)): [javac] ^

There are many of these with just the line numbering differing. They start with this one, which seems most revealing:

ainFrameActions: Packaging (Android (ETC2)): [buildconfig] Generating BuildConfig class.
MainFrameActions: Packaging (Android (ETC2)): -pre-compile:
MainFrameActions: Packaging (Android (ETC2)): -compile:
MainFrameActions: Packaging (Android (ETC2)): [javac] Compiling 74 source files to G:\Dropbox\Public\geogeo\UE4\GearVR\TemporaryTest\Intermediate\Android\APK\bin\classes
MainFrameActions: Packaging (Android (ETC2)): [javac] G:\Dropbox\Public\geogeo\UE4\GearVR\TemporaryTest\Intermediate\Android\APK\src\com\android\vending\licensing\APKExpansionPolicy.java:20: error: package org.apache.http does not exist
MainFrameActions: Packaging (Android (ETC2)): [javac] import org.apache.http.NameValuePair;

The problem is I’m not a seasoned developer, I’m more an artist than a programmer and I can’t make out what the issue might be. It seems to me that it’s something to do with the prerequisites but I’ve double checked everything. If anyone has an S7 phone and has any clue what this is all about I’d be more than gratefull.
I basically bought the whole kit to deploy on it but it sits useless now (ok… the phone is nice).

Thanks in advance,
George

Just a quick update as I realized this would be quite relevant. I get the exact same errors when I package a basic project under 4.10.4. So it’s either from the S7 or from my setup. If anyone has any idea as to what I should try, please let me know.

Hi cgiteach,

It looks like you are trying to use an Android SDK API level above 22 which is not supported at present. Take a look at this forum thread: https://forums.unrealengine.com/showthread.php?83159-Android-SDK-and-API-23

Hi Chris,

Yes, my Android SDK Manager shows me I have everything up to 24.something installed. I will force “android-21” in the sdk and/or uninstall those and let you know how that went.

Thank you.

Just setting SDK API level to “matchndk” or “android-21” should do it; no need to remove anything.

Wow Chris, it was really that simple. Thank you very much.
I would suggest changing the step 7 of this page: https://docs.unrealengine.com/latest/INT/Platforms/GearVR/QuickStart/2/index.html to replace the “latest” tag on the SDK with “android-21” and perhaps make a note to highlight that this is subject to constant change as you roll out new updates.

Thank you for pointing that out; I’ll talk to the documentation team.

Hi Chris,

Just to be sure, for a build for Gear VR today (June 2016) (for Galaxy S6 - S7 / edge, etc…) do we have to set:

ANDROID

  • Minimum SDK version = 19
  • Target SDK Version = 21

ANDROID SDK

  • SDK API Level = matchndk
  • NDK API Level = android-21

Just to be sure to build everything correctly for both S6-S7.
So not android-23 for now ?

Thanks,
Ronan

Yes, those settings will work, but so will android-19 for NDK API level (which is what the launcher binary is build with for maximum support). Android-23 requires updates I’m working on.

hi, I had this problem

UnrealBuildTool: clang++.exe: error: no such file or directory: ‘C:/Program Files (x86)/Epic Games/4.11/Engine/Plugins/Ikinema/Binaries/Android/UE4-IKinemaCore-armv7-es2.a’
MainFrameActions: Packaging (Android (ATC)): UnrealBuildTool: -------- End Detailed Actions Stats -----------------------------------------------------------
MainFrameActions: Packaging (Android (ATC)): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: E:\Unreal Project\VRTest\Binaries\Android\VRTest-armv7-es2.so
MainFrameActions: Packaging (Android (ATC)): UnrealBuildTool: Total build time: 27.08 seconds
MainFrameActions: Packaging (Android (ATC)): CommandUtils.Run: Run: Took 27.422355s to run UnrealBuildTool.exe, ExitCode=5
MainFrameActions: Packaging (Android (ATC)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Command failed (Result:5): C:\Program Files (x86)\Epic Games\4.11\Engine\Binaries\DotNET\UnrealBuildTool.exe VRTest Android Development -Project=“E:\Unreal P
MainFrameActions: Packaging (Android (ATC)): roject\VRTest\VRTest.uproject” “E:\Unreal Project\VRTest\VRTest.uproject” -remoteini=“E:\Unreal Project\VRTest” -noxge -NoHotReloadFromIDE -ignorejunk. See logfile for details: ‘UnrealBuildTool-2016.06.18-02.46.09.txt’
MainFrameActions: Packaging (Android (ATC)): at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary2 EnvVars) MainFrameActions: Packaging (Android (ATC)): at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary2 EnvVars)
MainFrameActions: Packaging (Android (ATC)): at AutomationTool.UE4Build.BuildWithUBT(String TargetName, UnrealTargetPlatform TargetPlatform, String Config, FileReference UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, Boolean ForceFlushMac, Boolean DisableXGE, String InAddArgs, Boolean ForceUnity, Dictionary2 EnvVars ) MainFrameActions: Packaging (Android (ATC)): at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary2 PlatformEnvVars) MainFrameActions: Packaging (Android (ATC)): at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask) MainFrameActions: Packaging (Android (ATC)): at BuildCookRun.DoBuildCookRun(ProjectParams Params) MainFrameActions: Packaging (Android (ATC)): at AutomationTool.BuildCommand.Execute() MainFrameActions: Packaging (Android (ATC)): at AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary1 Commands) MainFrameActions: Packaging (Android (ATC)): at AutomationTool.Automation.Process(String] CommandLine) MainFrameActions: Packaging (Android (ATC)): at AutomationTool.Program.MainProc(Object Param) MainFrameActions: Packaging (Android (ATC)): at AutomationTool.InternalUtils.RunSingleInstance(Func2 Main, Object Param)
MainFrameActions: Packaging (Android (ATC)): at AutomationTool.Program.Main()
MainFrameActions: Packaging (Android (ATC)): Program.Main: AutomationTool exiting with ExitCode=5 (5)
MainFrameActions: Packaging (Android (ATC)): Domain_ProcessExit
MainFrameActions: Packaging (Android (ATC)): copying UAT log files…
MainFrameActions: Packaging (Android (ATC)): BUILD FAILED

It looks like you have a third-party plugin (IKinema) enabled which doesn’t have an Android binary. Disable the plugin.

Hello!
I`m deploying to my Samsung Gear VR in S7 Edge.
Clean template. Im receiving this error:

{\rtf1\ansi\deff0
ouicompat{\fonttbl{\f0\fnil\fcharset0 Calibri;}}
{*\generator Riched20 10.0.10586}\viewkind4\uc1
\pard\sa200\sl276\slmult1\f0\fs22\lang10 MainFrameActions: Packaging (Android (All)): Project.Package: ********** PACKAGE COMMAND STARTED **********\par
MainFrameActions: Packaging (Android (All)): AndroidPlatform.Package: BaseApkName = E:\UE4_PROYECTS\VR_TEST\Binaries\Android\VR_TEST.apk\par
MainFrameActions: Packaging (Android (All)): AndroidPlatform.Package: Creating E:\UE4_PROYECTS\VR_TEST\Saved\StagedBuilds\Android.obb from E:\UE4_PROYECTS\VR_TEST\Saved\StagedBuilds\Android\par
MainFrameActions: Packaging (Android (All)): <>c__DisplayClass6.b__5: [1/1] Adding VR_TEST/ to OBB\par
MainFrameActions: Packaging (Android (All)): <>c__DisplayClass6.b__5: [2/2] Adding VR_TEST/Content/ to OBB\par
MainFrameActions: Packaging (Android (All)): <>c__DisplayClass6.b__5: [3/3] Adding VR_TEST/Content/Paks/ to OBB\par
MainFrameActions: Packaging (Android (All)): <>c__DisplayClass6.b__5: [4/4] Adding VR_TEST/Content/Paks/VR_TEST-Android.pak to OBB\par
MainFrameActions: Packaging (Android (All)): AndroidPlatform.CollectPluginDataPaths: AndroidPlugin: Plugins\Runtime\GearVR\Source\GearVR\GearVR_APL.xml\par
MainFrameActions: Packaging (Android (All)): AndroidPluginLanguage…ctor: \par
MainFrameActions: Packaging (Android (All)): APL: Engine\Plugins/Runtime/GearVR/Source/GearVR/GearVR_APL.xml\par
MainFrameActions: Packaging (Android (All)): UEDeployAndroid.MakeApk: \par
MainFrameActions: Packaging (Android (All)): ====8/11/2016 9:40:05 PM====PREPARING TO MAKE APK=================================================================\par
MainFrameActions: Packaging (Android (All)): UEDeployAndroid.WriteJavaOBBDataFile: \par
MainFrameActions: Packaging (Android (All)): ==== Writing to OBB data file E:\UE4_PROYECTS\VR_TEST\Build\Android\src\ArchitectIN NavSys\OBBData.java ====\par
MainFrameActions: Packaging (Android (All)): UEDeployAndroid.WriteJavaDownloadSupportFiles: \par
MainFrameActions: Packaging (Android (All)): ==== Writing to shim file E:\UE4_PROYECTS\VR_TEST\Build\Android\src\com\epicgames\ue4\DownloadShim.java ====\par
MainFrameActions: Packaging (Android (All)): UEDeployAndroid.WriteJavaDownloadSupportFiles: \par
MainFrameActions: Packaging (Android (All)): ==== Shim data file up to date so not writing. ====\par
MainFrameActions: Packaging (Android (All)): UEDeployAndroid.WriteJavaDownloadSupportFiles: \par
MainFrameActions: Packaging (Android (All)): ==== Writing to template target file E:\UE4_PROYECTS\VR_TEST\Build\Android\src\ArchitectIN NavSys\AlarmReceiver.java ====\par
MainFrameActions: Packaging (Android (All)): UEDeployAndroid.WriteJavaDownloadSupportFiles: \par
MainFrameActions: Packaging (Android (All)): ==== Template target file up to date so not writing. ====\par
MainFrameActions: Packaging (Android (All)): UEDeployAndroid.WriteJavaDownloadSupportFiles: \par
MainFrameActions: Packaging (Android (All)): ==== Writing to template target file E:\UE4_PROYECTS\VR_TEST\Build\Android\src\ArchitectIN NavSys\DownloaderActivity.java ====\par
MainFrameActions: Packaging (Android (All)): UEDeployAndroid.WriteJavaDownloadSupportFiles: \par
MainFrameActions: Packaging (Android (All)): ==== Template target file up to date so not writing. ====\par
MainFrameActions: Packaging (Android (All)): UEDeployAndroid.WriteJavaDownloadSupportFiles: \par
MainFrameActions: Packaging (Android (All)): ==== Writing to template target file E:\UE4_PROYECTS\VR_TEST\Build\Android\src\ArchitectIN NavSys\OBBDownloaderService.java ====\par
MainFrameActions: Packaging (Android (All)): UEDeployAndroid.WriteJavaDownloadSupportFiles: \par
MainFrameActions: Packaging (Android (All)): ==== Template target file up to date so not writing. ====\par
MainFrameActions: Packaging (Android (All)): UEDeployAndroid.MakeApk: Cleaning up files based on template dir E:\UE4_PROYECTS\VR_TEST\Build\Android\src\ArchitectIN NavSys\par
MainFrameActions: Packaging (Android (All)): Building Java with SDK API level ‘android-21’\par
MainFrameActions: Packaging (Android (All)): UEDeployAndroid.CheckDependencies: E:\UE4_PROYECTS\VR_TEST\Binaries\Android\VR_TEST-armv7-es2.apk is out of date due to newer input file C:\Program Files (x86)\Epic Games\4.12\Engine\Binaries\Android\UE4Game-armv7-es2.so\par
MainFrameActions: Packaging (Android (All)): AndroidPluginLanguage.Init: APL Init: armeabi-v7a\par
MainFrameActions: Packaging (Android (All)): AndroidPluginLanguage.ProcessPluginNode: GearVR init\par
MainFrameActions: Packaging (Android (All)): UEDeployAndroid.GenerateManifest: Fixing minSdkVersion; NDK level above 19 requires minSdkVersion of 21 (arch=armv7)\par
MainFrameActions: Packaging (Android (All)): UEDeployAndroid.GenerateManifest: Disabling Show Launch Image for GearVR enabled application\par
MainFrameActions: Packaging (Android (All)): UEDeployAndroid.MakeApk: Performing complete package - wiping E:\UE4_PROYECTS\VR_TEST\Intermediate/Android/APK, except for predexedLibs\par
MainFrameActions: Packaging (Android (All)): UEDeployAndroid.MakeApk: bPackageDataInsideApk = False\par
MainFrameActions: Packaging (Android (All)): UEDeployAndroid.MakeApk: \par
MainFrameActions: Packaging (Android (All)): ====8/11/2016 9:40:10 PM====PREPARING NATIVE CODE=================================================================\par
MainFrameActions: Packaging (Android (All)): UEDeployAndroid.GenerateManifest: Fixing minSdkVersion; NDK level above 19 requires minSdkVersion of 21 (arch=armv7)\par
MainFrameActions: Packaging (Android (All)): UEDeployAndroid.GenerateManifest: Disabling Show Launch Image for GearVR enabled application\par
MainFrameActions: Packaging (Android (All)): UEDeployAndroid.UpdateProjectProperties: \par
MainFrameActions: Packaging (Android (All)): ====8/11/2016 9:40:10 PM====UPDATING BUILD CONFIGURATION FILES====================================================\par
MainFrameActions: Packaging (Android (All)): UEDeployAndroid.RunCommandLineProgramAndThrowOnError: Updating project.properties, local.properties, and build.xml…\par
MainFrameActions: Packaging (Android (All)): UEDeployAndroid.RunCommandLineProgramAndThrowOnError: Updating project.properties, local.properties, and build.xml…\par
MainFrameActions: Packaging (Android (All)): UEDeployAndroid.UpdateGameActivity: \par
MainFrameActions: Packaging (Android (All)): ==== Writing new GameActivity.java file to E:\UE4_PROYECTS\VR_TEST\Intermediate/Android/APK\src\com\epicgames\ue4\GameActivity.java ====\par
MainFrameActions: Packaging (Android (All)): UEDeployAndroid.MakeApk: \par
MainFrameActions: Packaging (Android (All)): Copying new .so C:\Program Files (x86)\Epic Games\4.12\Engine\Binaries\Android\UE4Game-armv7-es2.so file to jni folder…\par
MainFrameActions: Packaging (Android (All)): UEDeployAndroid.RunCommandLineProgramAndThrowOnError: Preparing native code for debugging…\par
MainFrameActions: Packaging (Android (All)): AndroidPluginLanguage.ProcessPluginNode: \par
MainFrameActions: Packaging (Android (All)): File C:\Program Files (x86)\Epic Games\4.12/Engine/Source/ThirdParty/Oculus/OculusMobile/SDK_1_0_0/Libs/armeabi-v7a/libvrapi.so copied to E:\UE4_PROYECTS\VR_TEST\Intermediate/Android/APK/libs/armeabi-v7a/libvrapi.s\par
MainFrameActions: Packaging (Android (All)): o\par
MainFrameActions: Packaging (Android (All)): AndroidPluginLanguage.ProcessPluginNode: \par
MainFrameActions: Packaging (Android (All)): File C:\Program Files (x86)\Epic Games\4.12/Engine/Source/ThirdParty/Oculus/OculusMobile/SDK_1_0_0/Libs/VrApi.jar copied to E:\UE4_PROYECTS\VR_TEST\Intermediate/Android/APK/libs/VrApi.jar\par
MainFrameActions: Packaging (Android (All)): AndroidPluginLanguage.ProcessPluginNode: \par
MainFrameActions: Packaging (Android (All)): File C:\Program Files (x86)\Epic Games\4.12/Engine/Source/ThirdParty/Oculus/OculusMobile/SDK_1_0_0/Libs/SystemUtils.jar copied to E:\UE4_PROYECTS\VR_TEST\Intermediate/Android/APK/libs/SystemUtils.jar\par
MainFrameActions: Packaging (Android (All)): UEDeployAndroid.MakeApk: \par
MainFrameActions: Packaging (Android (All)): ====8/11/2016 9:40:22 PM====PERFORMING FINAL APK PACKAGE OPERATION================================================\par
MainFrameActions: Packaging (Android (All)): UEDeployAndroid.RunCommandLineProgramAndReturnError: Making .apk with Ant… (note: it’s safe to ignore javac obsolete warnings)\par
MainFrameActions: Packaging (Android (All)): BUILD FAILED\par
MainFrameActions: Packaging (Android (All)): C:\NVPACK\android-sdk-windows\ ools\ant\build.xml:538: Application package ‘ArchitectIN NavSys’ must have a minimum of 2 segments.\par
MainFrameActions: Packaging (Android (All)): Total time: 1 second\par
MainFrameActions: Packaging (Android (All)): UEDeployAndroid.RunCommandLineProgramAndReturnError: Making .apk with Ant again to show errors\par
MainFrameActions: Packaging (Android (All)): Buildfile: E:\UE4_PROYECTS\VR_TEST\Intermediate\Android\APK\build.xml\par
MainFrameActions: Packaging (Android (All)): [getbuildtools] Using latest Build Tools: 23.0.3\par
MainFrameActions: Packaging (Android (All)): -set-mode-check:\par
MainFrameActions: Packaging (Android (All)): -set-debug-files:\par
MainFrameActions: Packaging (Android (All)): -check-env:\par
MainFrameActions: Packaging (Android (All)): [checkenv] Android SDK Tools Revision 24.4.1\par
MainFrameActions: Packaging (Android (All)): [checkenv] Installed at C:\NVPACK\android-sdk-windows\par
MainFrameActions: Packaging (Android (All)): -setup:\par
MainFrameActions: Packaging (Android (All)): [echo] Project Name: VR_TEST\par
MainFrameActions: Packaging (Android (All)): [gettype] Project Type: Application\par
MainFrameActions: Packaging (Android (All)): -set-debug-mode:\par
MainFrameActions: Packaging (Android (All)): -debug-obfuscation-check:\par
MainFrameActions: Packaging (Android (All)): -pre-build:\par
MainFrameActions: Packaging (Android (All)): -build-setup:\par
MainFrameActions: Packaging (Android (All)): [getbuildtools] Using latest Build Tools: 23.0.3\par
MainFrameActions: Packaging (Android (All)): [echo] Resolving Build Target for VR_TEST…\par
MainFrameActions: Packaging (Android (All)): [gettarget] Project Target: Android 5.0.1\par
MainFrameActions: Packaging (Android (All)): [gettarget] API level: 21\par
MainFrameActions: Packaging (Android (All)): BUILD FAILED\par
MainFrameActions: Packaging (Android (All)): C:\NVPACK\android-sdk-windows\ ools\ant\build.xml:538: Application package ‘ArchitectIN NavSys’ must have a minimum of 2 segments.\par
MainFrameActions: Packaging (Android (All)): Total time: 0 seconds\par
MainFrameActions: Packaging (Android (All)): Program.Main: ERROR: AutomationTool terminated with exception: System.IO.DirectoryNotFoundException: No se puede encontrar una parte de la ruta de acceso ‘E:\UE4_PROYECTS\VR_TEST\Intermediate/Android/APK/bin/VR_TEST-debug.apk’.\par
MainFrameActions: Packaging (Android (All)): en System.IO.__Error.Win\par
MainFrameActions: Packaging (Android (All)): IOError(Int32 errorCode, String maybeFullPath)\par
MainFrameActions: Packaging (Android (All)): en System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)\par
MainFrameActions: Packaging (Android (All)): en UnrealBuildTool.UEDeployAndroid.MakeApk(AndroidToolChain ToolChain, String ProjectName, String ProjectDirectory, String OutputPath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bMakeSeparateApks, Boolean bIncrementalPackage, Boolean bDisallowPackagingDataInApk)\par
MainFrameActions: Packaging (Android (All)): en UnrealBuildTool.UEDeployAndroid.PrepForUATPackageOrDeploy(FileReference ProjectFile, String ProjectName, String ProjectDirectory, String ExecutablePath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bIsDataDeploy)\par
MainFrameActions: Packaging (Android (All)): en AndroidPlatform.Package(ProjectParams Params, DeploymentContext SC, Int32 WorkingCL)\par
MainFrameActions: Packaging (Android (All)): en Project.Package(ProjectParams Params, Int32 WorkingCL)\par
MainFrameActions: Packaging (Android (All)): en BuildCookRun.DoBuildCookRun(ProjectParams Params)\par
MainFrameActions: Packaging (Android (All)): en AutomationTool.BuildCommand.Execute()\par
MainFrameActions: Packaging (Android (All)): en AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary1 Commands)\par
MainFrameActions: Packaging (Android (All)): en AutomationTool.Automation.Process(String] CommandLine)\par
MainFrameActions: Packaging (Android (All)): en AutomationTool.Program.MainProc(Object Param)\par
MainFrameActions: Packaging (Android (All)): en AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)\par
MainFrameActions: Packaging (Android (All)): en AutomationTool.Program.Main()\par
MainFrameActions: Packaging (Android (All)): Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)\par
MainFrameActions: Packaging (Android (All)): Domain_ProcessExit\par
MainFrameActions: Packaging (Android (All)): copying UAT log files…\par
MainFrameActions: Packaging (Android (All)): BUILD FAILED\par
PackagingResults:Error: Error Unknown Error\par
}

Please, i need help.

This is the line with the actual issue:

C:\NVPACK\android-sdk-windows\ ools\ant\build.xml:538: Application package ‘ArchitectIN NavSys’ must have a minimum of 2 segments.\par

This means the Package Name (Android Package Name in the Android Project Settings) doesn’t follow the proper format. It needs to be something like: com.mycompany.[PROJECT].

[PROJECT] will be replaced with the project name. If you want something different you can change this, but you must have at least 2 valid ids separated by a period.

Exactly. Fixed.
Thank you very much, Chris!

Hi, I am having a dificult time tryng to figure out what i am doing wrong, i am getting an error: “threat priority security exeption make sure the apk is signed” but if i go into the apk my phone osig is inside the assets folder as it should be according to what i have read, i have the package game data inside apk option checked.
My phone is a s7 edge i dont know if there is a special step for this devices i am missing.
Fun fact: in one of my attemps to make this work I unchecked the gear vr manifest an the app got trough without the vr features.
I have tried setting the sdk and ndk to 19 or 21 as sugested previously and in the documentation with no success, I am using 4.11 latest version and also tried 4.12 with the same results, any idea what to do next, any help will be apreciated

Are you sure you entered the correct device id in the OSIG generation tool? It is best to cut and paste it; case matters.

Thanks for the quick response, I used sideload app to get my phone into developer mode, and inside my computer i went to the plataform-tools adb devices to get my phone id, I just double checked this and seems to be the right one copy pasted it just in case same result, what else could i do?

Where exactly are you placing your OSIG file? Do you see it in your apk in the “assets” folder?

I have it in the following directory:
Epic Games\4.11\Engine\Build\Android\Java\assets\

also if i change the final apk file to a zip file and i open it i can see the osig file on the assets folder inside the apk, thats why I have no clue of what can be wrong with the osig, i wonder if it can be something else

Also make sure you didn’t turn on distribution build.