Beta2 - e.printStackTrace; Eclipse Issue

Discussion in 'Buildbox General Discussion' started by dusan20002, Jan 27, 2016.

  1. dusan20002

    dusan20002 Avid Boxer

    Joined:
    Dec 7, 2015
    Messages:
    136
    Likes Received:
    55
    We import game in Beta2 that we was making with Beta1, and on simulator everything is working properly.
    After exporting to Android and importing in Eclipse Engine we found one error with line in
    src/org.cocos2dx.lib/Cocos2dxSound.java

    e.printStackTrace;

    What we have done is adding ()
    e.printStackTrace();
    and error disappear.

    After compiling to .apk file and installing on device only Splash Screen in appearing.

    Anyone having same issue?
     
    mnodl likes this.
  2. GoMaas

    GoMaas Boxer

    Joined:
    Jan 19, 2016
    Messages:
    16
    Likes Received:
    6
    I have the same issue at the moment. Have you tried testing it through eclipse? For me the game works but lags a lot on the eclipse simulator nexus 5 I haven't tested it on a normal device yet...
     
  3. dusan20002

    dusan20002 Avid Boxer

    Joined:
    Dec 7, 2015
    Messages:
    136
    Likes Received:
    55
    We did not test in Eclipse Simulator. We always testing on real device.
     
  4. GoMaas

    GoMaas Boxer

    Joined:
    Jan 19, 2016
    Messages:
    16
    Likes Received:
    6
    Ok I just tested on a real device and I have the exact same issue. It stops during the load screen
     
  5. GoMaas

    GoMaas Boxer

    Joined:
    Jan 19, 2016
    Messages:
    16
    Likes Received:
    6
    Hey,

    I managed to solve the issue and now its running on my device.
    You just have to write this instead on the line of e.printstacktrace :

    catch(Exception e){
    System.out.println(e);
    e.printStackTrace();

    Cheers,
    Robert
     
  6. dusan20002

    dusan20002 Avid Boxer

    Joined:
    Dec 7, 2015
    Messages:
    136
    Likes Received:
    55
    Thank you, will try to make it later on.
     

Share This Page