Close
Advertise Here
Results 1 to 5 of 5

Hybrid View

  1. #1
    OUYA Developer Templum's Avatar
    Join Date
    May 2013
    Location
    Germany
    Posts
    166


    Problem with compiling apk

    Hello People,

    I have the following problem. I wanted to export my Game, as is is so far.
    I did the normal way for compiling :
    File -> Build Settings -> Build

    My Player Settings:

    Under Resolution an Presentation
    I Changed the DefaultOrientation Landscape right

    Other Settings look like that:



    Also I did the Bundle Identifier and set up the DebugKeystore. Of Course I imported the Ouya Unity Package (Corepackage).


    After this I used the way of sideoading via Dropbox. After the installation its shows up in the Play Section.(See Screen)

    Now when i start it crashes and set me back to the main menu.


    Now I hope one of you can help me, maybe there is one out which had the same problem. Would be really awesome, maybe some one can share how he compile the apk.


    Greetings Templum

  2. #2
    OUYA Developer
    BlackCrackerStudios's Avatar
    Join Date
    Sep 2012
    Location
    San Antonio,TX
    Posts
    428


    If it crashes after it loads, it's something failing in your code. Check your error log cause it could be anything lol

  3. #3
    OUYA Developer Templum's Avatar
    Join Date
    May 2013
    Location
    Germany
    Posts
    166


    Well Broner just tough i failed compiling, because when i export it as an .exe it worked perfect for me. I could start it with out any crashes.


    But It gives the following errors out:
    Shader is using clip instruction (usually caused by alpha test). It might cause problems on some Qualcomm/Adreno drivers.

    (Filename: C:/BuildAgent/work/7535de4ca26c26ac/Runtime/Shaders/Material.cpp Line: 35)

    Shader is using clip instruction (usually caused by alpha test). It might cause problems on some Qualcomm/Adreno drivers.

    (Filename: C:/BuildAgent/work/7535de4ca26c26ac/Runtime/Shaders/Material.cpp Line: 35)

    Shader is using clip instruction (usually caused by alpha test). It might cause problems on some Qualcomm/Adreno drivers.

    (Filename: C:/BuildAgent/work/7535de4ca26c26ac/Runtime/Shaders/Material.cpp Line: 35)

    Shader is using clip instruction (usually caused by alpha test). It might cause problems on some Qualcomm/Adreno drivers.

    (Filename: C:/BuildAgent/work/7535de4ca26c26ac/Runtime/Shaders/Material.cpp Line: 35)

    Shader is using clip instruction (usually caused by alpha test). It might cause problems on some Qualcomm/Adreno drivers.

    (Filename: C:/BuildAgent/work/7535de4ca26c26ac/Runtime/Shaders/Material.cpp Line: 35)

    Shader is using clip instruction (usually caused by alpha test). It might cause problems on some Qualcomm/Adreno drivers.

    (Filename: C:/BuildAgent/work/7535de4ca26c26ac/Runtime/Shaders/Material.cpp Line: 35)
    And some to the input system that you send me :
    Assets/InputFramework/InputHandlerPattern.cs(159,30): warning CS0219: The variable `down_System' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(158,30): warning CS0219: The variable `down_Select' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(157,30): warning CS0219: The variable `down_Start' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(154,30): warning CS0219: The variable `down_RightShoulder' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(153,30): warning CS0219: The variable `down_LeftShoulder' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(150,30): warning CS0219: The variable `down_RightTrigger' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(149,30): warning CS0219: The variable `down_LeftTrigger' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(146,30): warning CS0219: The variable `down_RightStick' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(145,30): warning CS0219: The variable `down_LeftStick' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(142,30): warning CS0219: The variable `down_A' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(141,30): warning CS0219: The variable `down_Y' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(140,30): warning CS0219: The variable `down_U' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(139,30): warning CS0219: The variable `down_O' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(189,30): warning CS0219: The variable `up_System' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(188,30): warning CS0219: The variable `up_Select' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(187,30): warning CS0219: The variable `up_Start' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(184,30): warning CS0219: The variable `up_RightShoulder' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(183,30): warning CS0219: The variable `up_LeftShoulder' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(180,30): warning CS0219: The variable `up_RightTrigger' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(179,30): warning CS0219: The variable `up_LeftTrigger' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(176,30): warning CS0219: The variable `up_RightStick' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(175,30): warning CS0219: The variable `up_LeftStick' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(172,30): warning CS0219: The variable `up_A' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(171,30): warning CS0219: The variable `up_Y' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(170,30): warning CS0219: The variable `up_U' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(169,30): warning CS0219: The variable `up_O' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(130,22): warning CS0219: The variable `pressed_System' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(129,22): warning CS0219: The variable `pressed_Select' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(128,22): warning CS0219: The variable `pressed_Start' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(125,22): warning CS0219: The variable `pressed_RightShoulder' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(153,30): warning CS0219: The variable `down_LeftShoulder' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(150,30): warning CS0219: The variable `down_RightTrigger' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(149,30): warning CS0219: The variable `down_LeftTrigger' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(146,30): warning CS0219: The variable `down_RightStick' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(145,30): warning CS0219: The variable `down_LeftStick' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(142,30): warning CS0219: The variable `down_A' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(141,30): warning CS0219: The variable `down_Y' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(140,30): warning CS0219: The variable `down_U' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(139,30): warning CS0219: The variable `down_O' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(189,30): warning CS0219: The variable `up_System' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(188,30): warning CS0219: The variable `up_Select' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(187,30): warning CS0219: The variable `up_Start' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(184,30): warning CS0219: The variable `up_RightShoulder' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(183,30): warning CS0219: The variable `up_LeftShoulder' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(180,30): warning CS0219: The variable `up_RightTrigger' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(179,30): warning CS0219: The variable `up_LeftTrigger' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(176,30): warning CS0219: The variable `up_RightStick' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(175,30): warning CS0219: The variable `up_LeftStick' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(172,30): warning CS0219: The variable `up_A' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(171,30): warning CS0219: The variable `up_Y' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(170,30): warning CS0219: The variable `up_U' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(169,30): warning CS0219: The variable `up_O' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(130,22): warning CS0219: The variable `pressed_System' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(129,22): warning CS0219: The variable `pressed_Select' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(128,22): warning CS0219: The variable `pressed_Start' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(125,22): warning CS0219: The variable `pressed_RightShoulder' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(124,22): warning CS0219: The variable `pressed_LeftShoulder' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(121,22): warning CS0219: The variable `pressed_RightTrigger' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(120,22): warning CS0219: The variable `pressed_LeftTrigger' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(117,22): warning CS0219: The variable `pressed_RightStick' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(116,22): warning CS0219: The variable `pressed_LeftStick' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(113,22): warning CS0219: The variable `pressed_A' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(112,22): warning CS0219: The variable `pressed_Y' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(111,22): warning CS0219: The variable `pressed_U' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(110,22): warning CS0219: The variable `pressed_O' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(105,23): warning CS0219: The variable `rightTrigger' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(104,23): warning CS0219: The variable `leftTrigger' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(101,25): warning CS0219: The variable `dPad' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(100,25): warning CS0219: The variable `rightJoystick' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(99,25): warning CS0219: The variable `leftJoystick' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(94,25): warning CS0219: The variable `dPadInput' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(93,25): warning CS0219: The variable `rightStickInput' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(92,25): warning CS0219: The variable `leftStickInput' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(89,23): warning CS0219: The variable `axis_RightTrigger' is assigned but its value is never used

    Assets/InputFramework/InputHandlerPattern.cs(88,23): warning CS0219: The variable `axis_LeftTrigger' is assigned but its value is never used
    But i guess the last one wont crash the game.

  4. #4
    OUYA Developer
    BlackCrackerStudios's Avatar
    Join Date
    Sep 2012
    Location
    San Antonio,TX
    Posts
    428


    Neither one from what i am reading will cause it not to work. Just alot of warnings.

    1st one seems like you are using some shaders that will fail on some devices
    2nd one you just have alot of variables in your code but you never actually use them.

  5. #5
    OUYA Developer Templum's Avatar
    Join Date
    May 2013
    Location
    Germany
    Posts
    166


    Quote Originally Posted by BronerGames View Post
    Neither one from what i am reading will cause it not to work. Just alot of warnings.

    1st one seems like you are using some shaders that will fail on some devices
    2nd one you just have alot of variables in your code but you never actually use them.
    I figured out, was the wrong Api Level selected. So this post can be closed .

    But thank you for trying to help

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •