Download

Compilation Distribution Android Error + certificate

Hi,

I develop an Android game, the compilation works in development mode, and shipping but when I put in distribution I take the following error
(I join you all my configurations in bot)


UATHelper: Packaging (Android (All)): ====05/11/2017 22:12:07====PERFORMING FINAL APK PACKAGE OPERATION================================================
UATHelper: Packaging (Android (All)): UEDeployAndroid.RunCommandLineProgramAndReturnResult: Making .apk with Ant... (note: it's safe to ignore javac obsolete warnings)
UATHelper: Packaging (Android (All)):     [javac] Note: Some input files use or override a deprecated API.
UATHelper: Packaging (Android (All)):     [javac] Note: Recompile with -Xlint:deprecation for details.
UATHelper: Packaging (Android (All)): BUILD FAILED
UATHelper: Packaging (Android (All)): C:\NVPACK\android-sdk-windows	ools\ant\build.xml:871: Can't read [C:\NVPACK\android-sdk-windows\platforms\android-27\android.jar] (Can't process class [junit/runner/Version.class] (Unsupported class version number [52.0] (maximum 51.0, Java 1.7)))
UATHelper: Packaging (Android (All)): Total time: 1 minute 35 seconds
UATHelper: Packaging (Android (All)): Program.Main: ERROR: AutomationTool terminated with exception: System.IO.FileNotFoundException: Le fichier 'C:\Users\Nicolas\Documents\Unreal Projects\ColorsBlock 4.16\Intermediate/Android/APK/bin/ColorsBlock-release.apk' est introuvable.
UATHelper: Packaging (Android (All)): Nom de fichier : 'C:\Users\Nicolas\Documents\Unreal Projects\ColorsBlock 4.16\Intermediate/Android/APK/bin/ColorsBlock-release.apk'
UATHelper: Packaging (Android (All)):    à System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
UATHelper: Packaging (Android (All)):    à System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
UATHelper: Packaging (Android (All)):    à UnrealBuildTool.UEDeployAndroid.MakeApk(AndroidToolChain ToolChain, String ProjectName, String ProjectDirectory, String OutputPath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bMakeSeparateApks, Boolean bIncrementalPackage, Boolean bDisallowPackagingDataInApk, Boolean bDisallowExtern
alFilesDir)
UATHelper: Packaging (Android (All)):    à UnrealBuildTool.UEDeployAndroid.PrepForUATPackageOrDeploy(FileReference ProjectFile, String ProjectName, String ProjectDirectory, String ExecutablePath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bIsDataDeploy)
UATHelper: Packaging (Android (All)):    à AndroidPlatform.Package(ProjectParams Params, DeploymentContext SC, Int32 WorkingCL)
UATHelper: Packaging (Android (All)):    à Project.Package(ProjectParams Params, Int32 WorkingCL)
UATHelper: Packaging (Android (All)):    à BuildCookRun.DoBuildCookRun(ProjectParams Params)
UATHelper: Packaging (Android (All)):    à BuildCookRun.ExecuteBuild()
UATHelper: Packaging (Android (All)):    à AutomationTool.BuildCommand.Execute()
UATHelper: Packaging (Android (All)):    à AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
UATHelper: Packaging (Android (All)):    à AutomationTool.Automation.Process(String] Arguments)
UATHelper: Packaging (Android (All)):    à AutomationTool.Program.MainProc(Object Param)
UATHelper: Packaging (Android (All)):    à AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
UATHelper: Packaging (Android (All)):    à AutomationTool.Program.Main()
UATHelper: Packaging (Android (All)): Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Android (All)): BUILD FAILED
PackagingResults:Error: Error Unknown Error

and I could see in a tutorial on the forum that you had to use this command for the certificate:
keytool -exportcert -alias <your -key-name> -keystore <path-to-production-keystore> -list -v
but I do not see how the used,
for <your-key-name> I put the key that starts like this: 0F: 09: 77: 2D: D3: E5: CB **********?
and for <path-to-production-keystore> I do not see what to put,

for my part I generated a certificate with this:
keytool -genkey -v -keystore (name_of_my_game) _key.keystore -alias Alia -keyalg RSA -keysize 2048 -validity 10000
thank you in advance for your help,

it’s been 5 days that I’m blocking it and my small community is getting impatient,
Regards,
Nicolas Brg