Search Unity

UnityException: Build Failure!

Discussion in 'Tizen' started by 2515097216, Mar 10, 2016.

  1. 2515097216

    2515097216

    Joined:
    Mar 10, 2016
    Posts:
    5
    q0.png q1.png
     

    Attached Files:

    • q3.png
      q3.png
      File size:
      63.9 KB
      Views:
      989
    • q4.png
      q4.png
      File size:
      40 KB
      Views:
      937
    • q5.png
      q5.png
      File size:
      71.8 KB
      Views:
      957
  2. Masterfalcon

    Masterfalcon

    Unity Technologies

    Joined:
    Dec 29, 2014
    Posts:
    364
    Hello,

    This is due to changes in the Tizen SDK. A fix is scheduled for Unity 5.3.4p1.
     
  3. 2515097216

    2515097216

    Joined:
    Mar 10, 2016
    Posts:
    5
     

    Attached Files:

  4. skaljac

    skaljac

    Joined:
    Apr 9, 2015
    Posts:
    33
    You can fix this problem manually by doing this:

    1) go to Temp\StagingArea in your Unity folder
    2) rename folder "build" into "bin"
    3) zip content of StagingArea folder and call that zip file "tizen.tpk". In the root of this zip file you should have \bin \data \lib and so on
    4) run "tizen.bat package" on this new tizen.tpk file and then use "sdb install" to install this new file

    You can copy and modify "tizen.bat package" run command from unity build output and modify that command to use tizen.tpk
    In my example I have use this command:

    tizen-sdk\tools\ide/bin/tizen.bat package -- "D:\Unity\Tizen2\Temp\StagingArea\tizen.tpk" -t tpk -s tizensignalias

    I have use Unity 5.3.4f and Tizen SDK 2.4 rev 4 with Samsung Z3 and it works as expected.

    Best regards
    Bojan
     
    Last edited: Mar 17, 2016
    NP_VTT and Grizmu like this.
  5. 2515097216

    2515097216

    Joined:
    Mar 10, 2016
    Posts:
    5
    Thank you very much. you perfect solved my problem.
     
  6. dichterDichter

    dichterDichter

    Joined:
    Oct 8, 2015
    Posts:
    13
    Hi,

    i have the same problem and the solution to manual package and signing was working. i just have the Problem that after the install/push command i get some errors:
    error: failed to close '/system/bin/sh: /usr/bin/pkgcmd: not found/tmp/tizen.tpk': No such file or directory

     

    Attached Files:

  7. 2515097216

    2515097216

    Joined:
    Mar 10, 2016
    Posts:
    5
    All of view pic.
     

    Attached Files:

  8. migoistudios

    migoistudios

    Joined:
    Feb 24, 2016
    Posts:
    3
    I am unable to build tpk file.
    Please refer attachment for errors.
    My Unity version is 5.5.2f
    OSX 10.11
    Tizen SDK 3.0

    Screen Shot 2017-03-10 at 4.28.41 PM.png
     

    Attached Files:

    Last edited: Mar 10, 2017
  9. Masterfalcon

    Masterfalcon

    Unity Technologies

    Joined:
    Dec 29, 2014
    Posts:
    364
  10. migoistudios

    migoistudios

    Joined:
    Feb 24, 2016
    Posts:
    3
    @Masterfalcon
    I have installed Java 8 update 121
    also jdk 1.8.0_121
    still getting same error
    I have also specified correct JDK path in unity preferences
    is there any specific version of Java needed for tizen?
     
  11. Masterfalcon

    Masterfalcon

    Unity Technologies

    Joined:
    Dec 29, 2014
    Posts:
    364
    Java 8 is what is required. I have 3 ideas.
    1. Try restarting Unity
    2. Try restarting the computer
    3. Try uninstalling and reinstalling Tizen Studio

    Hopefully one of those will work.
     
    milkymomo likes this.
  12. milkymomo

    milkymomo

    Joined:
    Jan 16, 2017
    Posts:
    7
    Thank you. I got same problem. :3
    It seems Tizen Builds on Windows machine is better.