Still have problem with distribution packing

hi guys, i have one week problem with packing android for distribution i read and try all instruction of this problem i was try create keystore, use default keystore. i have right informatoin in SigningConfig. i was try reinstall 100x times sdk, java, jdk, ant, +proguard, win, but still have same reason… really dont know where is problem… :frowning:

please, help me :slight_smile:

BUILD FAILED
MainFrameActions: Packaging (Android (All)): C:\NVPACK\android-sdk-windows\tools\ant\build.xml:1139: following error occurred while executing this line:
MainFrameActions: Packaging (Android (All)): C:\NVPACK\android-sdk-windows\tools\ant\build.xml:1151: Value for ‘keystore’ is not valid. It must resolve to a single path
MainFrameActions: Packaging (Android (All)): Total time: 57 seconds
MainFrameActions: Packaging (Android (All)): BuildCommand.Execute: ERROR: BUILD FAILED
MainFrameActions: Packaging (Android (All)): Program.Main: ERROR: AutomationTool terminated with exception:
MainFrameActions: Packaging (Android (All)): Program.Main: ERROR: Exception in UnrealBuildTool: ERROR: cmd.exe failed with args /c “C:\NVPACK\apache-ant-1.8.2/bin/ant.bat” -quiet release
MainFrameActions: Packaging (Android (All)): Stacktrace: v UnrealBuildTool.Android.UEDeployAndroid.RunCommandLineProgramAndThrowOnError(String WorkingDirectory, String Command, String Params, String OverrideDesc, Boolean bUseShellExecute)
MainFrameActions: Packaging (Android (All)): v UnrealBuildTool.Android.UEDeployAndroid.MakeApk(String ProjectName, String ProjectDirectory, String OutputPath, String EngineDirectory, Boolean bForDistribution, Stri
MainFrameActions: Packaging (Android (All)): ng CookFlavor, Boolean bMakeSeparateApks, Boolean bIncrementalPackage)
MainFrameActions: Packaging (Android (All)): v UnrealBuildTool.Android.UEDeployAndroid.PrepForUATPackageOrDeploy(String ProjectName, String ProjectDirectory, String ExecutablePath, String EngineDirectory, Boolean bForDistribution, String CookFlavor)
MainFrameActions: Packaging (Android (All)): v AndroidPlatform.Package(ProjectParams Params, DeploymentContext SC, Int32 WorkingCL)
MainFrameActions: Packaging (Android (All)): v Project.Package(ProjectParams Params, Int32 WorkingCL)
MainFrameActions: Packaging (Android (All)): v BuildCookRun.DoBuildCookRun(ProjectParams Params)
MainFrameActions: Packaging (Android (All)): v BuildCommand.Execute()
MainFrameActions: Packaging (Android (All)): v AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary1 Commands)
MainFrameActions: Packaging (Android (All)): v AutomationTool.Automation.Process(String[] CommandLine)
MainFrameActions: Packaging (Android (All)): v AutomationTool.Program.MainProc(Object Param)
MainFrameActions: Packaging (Android (All)): v AutomationTool.InternalUtils.RunSingleInstance(MainProc Main, Object Param)
MainFrameActions: Packaging (Android (All)): v AutomationTool.Program.Main()
MainFrameActions: Packaging (Android (All)): Program.Main: ERROR: ERROR: cmd.exe failed with args /c “C:\NVPACK\apache-ant-1.8.2/bin/ant.bat” -quiet release
MainFrameActions: Packaging (Android (All)): ProcessManager.KillAll: Trying to kill 0 spawned processes.
MainFrameActions: Packaging (Android (All)): Program.Main: AutomationTool exiting with ExitCode=1
MainFrameActions: Packaging (Android (All)): Domain_ProcessExit
MainFrameActions: Packaging (Android (All)): ProcessManager.KillAll: Trying to kill 0 spawned processes.
MainFrameActions: Packaging (Android (All)): copying UAT log files…
MainFrameActions: Packaging (Android (All)): RunUAT.bat ERROR: AutomationTool was unable to run successfully.
MainFrameActions: Packaging (Android (All)): BUILD FAILED

problem solved, i was change some data in build.xml.

Happy christmas to all!!! :slight_smile:

in C:\NVPACK\android-sdk-windows\tools\ant\build i was changed

Signing final apk…

Release Package: ${out.final.file}


now i have game at google play, but game crashed after start…

/system/lib/libdvm.so (dvmInitClass+399), /system/lib/libdvm.so

really dont know what to do…

signapk output=“${out.unaligned.file}” input=“${out.packaged.file}” keypass=“mypw” alias=“myalias” storepass=“mypw” keystore=“C:\NVPACK\jdk1.6.0_45\bin\mykey.keystore”/

What have you done with build.xml? Please, share your solve with community!

Dont do that!!! this is wrong way :smiley:

Hi okuheevil,

We’re trying really hard to clean out some of Packaging and Development open thread backlog. Your other answer says that you changed things, but not what, and it was reopened because of Skylar’s comment. Please post what you did, and then accept that answer as resolution so we can close this out.

Closing this again as there was no response.

I have same issue with 4.8.1, launching game directly on my phone and tablet from within engine works fine.

Native crash at /system/lib/libdvm.so
in /system/lib/libdvm.so, /system/lib/libhoudini.so.4.1.0_y.45074

Here are some CRASH/ANR reports of problem

#1

Build fingerprint:
'acer/b1750_ww_gen1/vespa2:4.4.4/KTU84P/1418292109:user/release-keys'
Revision: '0' pid: 22332, tid: 22346,
name: main >>>
com.dnatoxicgames.balloonypoprevised
<<< signal 11 (SIGSEGV), code 1
(SEGV_MAPERR), fault addr 0000002c eax
00000000 ebx 6d413c30 ecx 00000000 edx
36555dd0 esi 72031008 edi 72031008 xcs
00000023 xds 0000002b xes 0000002b xfs
00000073 xss 0000002b eip 6d2bfb32 ebp
36555cf8 esp 36555a20 flags 00210246

backtrace:
#00 pc 00090b32 /system/lib/libdvm.so
#01 pc 001ae472 /system/lib/libhoudini.so.4.1.0_y.45074

#2

Build fingerprint:
'acer/b1750_ww_gen1/vespa2:4.4.4/KTU84P/1418292109:user/release-keys'
Revision: '0' pid: 18623, tid: 18638,
name: main >>>
com.dnatoxicgames.balloonypoprevised
<<< signal 11 (SIGSEGV), code 1
(SEGV_MAPERR), fault addr 00000018

backtrace:
#00 pc 0009241e /system/lib/libdvm.so
#01 pc 001ab16a /system/lib/libhoudini.so.4.1.0_y.45074

#3

    Build fingerprint:
    'acer/b1750_ww_gen1/vespa2:4.4.4/KTU84P/1418292109:user/release-keys'
    Revision: '0' pid: 18540, tid: 18554,
    name: main >>>
    com.dnatoxicgames.balloonypoprevised
    <<< signal 11 (SIGSEGV), code 1
    (SEGV_MAPERR), fault addr 00000018

  backtrace:
    #00 pc 0009241e /system/lib/libdvm.so
    #01 pc 001ab16a /system/lib/libhoudini.so.4.1.0_y.45074

Hi ,

We will be tracking issues you are experiencing on post that you made:

Please refrain from posting your issue on multiple threads on AnswerHub. We will address issue on your post. Make sure you include any logs you can, as requested by wittlief.