Android app crashing for (seemingly) no reason on opening?

iKlazzyiKlazzy Member, PRO Posts: 71

I just released a game on iOS and Android. The iOS version runs 100% smooth. The Android version is the exact same project except without the Game Center rules and instead of tweet sheet uses open url.

For some reason, the android app will crash about every fifth time when I open it. My sister has reported it and so has my roommate. Only thing is, we are all on android 5.0. Does game salad output good for lollipop? I can't seem to figure out why it is crashing. On the times that it opens, it runs smoothly

Comments

  • jigglybeanjigglybean Member Posts: 1,584

    Did you update your Android SDK? And Lollipop has lots of random issues, from what I have read

    Like Balls? Then click here! We've 100 coming soon

  • vafurlogivafurlogi Member Posts: 203

    GameSalad games on Android are always more flimsy then their IOS counterpart. If you have an empty rule somewhere or a change attribute that's missing an argument, that might explain it. Also you might try putting an empty scene at the beginning of your game that just changes the scene to your actual game. What I have found is that GameSalad for Android has a lot of weird little bugs and quirks that won't be addressed. Good luck.

  • iKlazzyiKlazzy Member, PRO Posts: 71

    @jigglybean said:
    Did you update your Android SDK? And Lollipop has lots of random issues, from what I have read

    Pretty sure I'm updated all the way.

    @vafurlogi said:
    GameSalad games on Android are always more flimsy then their IOS counterpart. If you have an empty rule somewhere or a change attribute that's missing an argument, that might explain it. Also you might try putting an empty scene at the beginning of your game that just changes the scene to your actual game. What I have found is that GameSalad for Android has a lot of weird little bugs and quirks that won't be addressed. Good luck.

    I'll keep looking into it i guess. It's crazy how it's just the start of the game and there really isn't much going on in the start of my game.

  • omiwebdesignomiwebdesign Member, PRO Posts: 69

    Hey @iKlazzy , I have the same problem with my latest Android App. The weird thing is, it only happens on some devices. We tested on some Samsung devices and everything works fine. But on the LG G3 (Android 5.0) and the OnePlus One (Android 4.4.4) I get the same crash as you.

    The second weird thing. I only load an empty scene that just changes the scene to the next scene. (like @vafurlogi said) So, I can't really do anything about the problem. I will test if the "Aspect Ratio Adjustment" has anything to do with it. Currently I use Stretch.

    Hope anyone can find out the reason for this bug. And how it can be fixed.

  • MentalDonkeyGamesMentalDonkeyGames Member Posts: 1,276

    Are you guys using RevMob? That might be the problem with android 4.4 and up.

    link to bug

    Mental Donkey Games
    Website - Facebook - Twitter

  • omiwebdesignomiwebdesign Member, PRO Posts: 69

    Hey @NipaDidIt I am still working on the game, so I didn't add any ads yet. So that can't be the problem. However I do use Revmob in my latest game and there I have no crash issues at all.

  • MentalDonkeyGamesMentalDonkeyGames Member Posts: 1,276
    edited March 2015

    @omiwebdesign said:
    Hey NipaDidIt I am still working on the game, so I didn't add any ads yet. So that can't be the problem. However I do use Revmob in my latest game and there I have no crash issues at all.

    Ok. Was your latest game released with GS 0.13.7?

    Mental Donkey Games
    Website - Facebook - Twitter

  • omiwebdesignomiwebdesign Member, PRO Posts: 69

    I am not sure to be honest. I released the game about two weeks ago and always update when i get an update warning. Is there any way to go back to an older version?

  • MentalDonkeyGamesMentalDonkeyGames Member Posts: 1,276

    I actually just made an adhoc of one of my new projects and noticed it crashing after trying to open it the second time. Sometimes it opens up and sometimes doesn´t.

    Mental Donkey Games
    Website - Facebook - Twitter

  • LovejoyLovejoy Member Posts: 2,078

    Most likely you guys are using an older version of zipalign, make sure to always change the path during publishing to the latest version after updating the android sdk. The latest is 22.0.0 i believe, always pick the latest one. You guys probably still have it set to an older zipalign folder.

    Let me know if that makes any difference.

    Fortuna Infortuna Forti Una

  • MentalDonkeyGamesMentalDonkeyGames Member Posts: 1,276

    @Lovejoy i just checked it, and i´m using 22.0.0.

    Mental Donkey Games
    Website - Facebook - Twitter

  • omiwebdesignomiwebdesign Member, PRO Posts: 69
    edited March 2015

    Do you mean ADT (Android Development Tools)? That one is updated to Build: v22.3.0-887826.

    When I go to Android Debug Bridge in GameSalad I use this link: /Applications/adt-bundle-mac-x86_64-20131030/sdk/platform-tools/adb

    In the ZipAlign field I use: /Applications/adt-bundle-mac-x86_64-20131030/sdk/tools/zipalign

  • LovejoyLovejoy Member Posts: 2,078

    @NipaDidIt said:
    Lovejoy i just checked it, and i´m using 22.0.0.

    Not sure what else to check. I don't mess around too much on android so haven't noticed, but if more people are seeing this issue then perhaps GS can look into it.

    Fortuna Infortuna Forti Una

  • izamizam Member, PRO Posts: 503

    I'm seeing this and a lot of my players experience this too and they are complaining and giving my apps 1 star on google playstore. Have updated to the latest android sdk. Using GS 13.7. Any solution?

  • omiwebdesignomiwebdesign Member, PRO Posts: 69

    I think I will try to reinstall Gamesalad to version 0.13.6, because now it will be impossible to release new games to Android without negative reviews. But can I open .gameproj files that are last edited with GameSalad version 0.13.7 in version 0.13.6?

  • LovejoyLovejoy Member Posts: 2,078

    @omiwebdesign said:
    I think I will try to reinstall Gamesalad to version 0.13.6, because now it will be impossible to release new games to Android without negative reviews. But can I open .gameproj files that are last edited with GameSalad version 0.13.7 in version 0.13.6?

    It would require an edit of the xml files. Make sure to backup your project before attempting this.

    http://forums.gamesalad.com/discussion/72787/gs-tips-open-gs-project-in-older-version-of-creator

    Fortuna Infortuna Forti Una

  • omiwebdesignomiwebdesign Member, PRO Posts: 69
    edited March 2015

    @lovejo Woow. thats seems like a lot of work, hundreds of files to edit. Is this also necessary if the file was created with version 12 (or whatever) but just edited in version 13.7?

    When will the next GameSalad update be released?

  • LovejoyLovejoy Member Posts: 2,078

    @omiwebdesign said:
    lovejo Woow. thats seems like a lot of work, hundreds of files to edit. Is this also necessary if the file was created with version 12 (or whatever) but just edited in version 13.7?

    Since you edited in 13.7 , all the files changed to version 13.7 . Unfortunately there is no other way around it.

    Fortuna Infortuna Forti Una

  • omiwebdesignomiwebdesign Member, PRO Posts: 69

    @Lovejoy Thanks for your help. Will look into it. Do you thing Gamesalad will release a new update next month? (still need at least a month work on this project).

  • omiwebdesignomiwebdesign Member, PRO Posts: 69

    I also just checked and found out that the latest build of my latest game that is available in the Play Store has been made with version 0.13.7. This game works fine. Maybe it has something to do with the resolution? I used iPhone 5 landscape for that game, while my newest games use iPhone 5 portrait and iPhone 6 landscape.

  • ldrahcir@yahoo.comldrahcir@yahoo.com Member, PRO Posts: 4

    I just got the update last night.. once I opened up a project and hit play to preview gs would close... what i discovered is that the raptr control center for my r9-280 place gs in the list of games to optimize... this meant that testing a game in gs would crash because the test wasn't started from inside raptr which wanted full control over running games... which of course is not possible with gs... once i exited the raptr control center, I tried to preview a project in gs and this time no crashing... this was not a problem before the update... but thankful its working... it drove me crazy for hours...

  • stannystanny Member Posts: 26

    Any new updates to this? My app on Android does not open/crashes on startup 20% of the time. It works fine on iOS.

  • GeorgeGSGeorgeGS Member, PRO Posts: 478

    @stanny said:
    Any new updates to this? My app on Android does not open/crashes on startup 20% of the time. It works fine on iOS.

    Most likely a different issue since this one was months ago.

    Do you have a custom loading screen? http://bugs.gamesalad.com/show_bug.cgi?id=1375

  • dapiondapion Member, PRO Posts: 353

    I have wrote a thread to this issue on August 5th...since nothing happens.
    http://forums.gamesalad.com/discussion/88360/android-crashes-in-startscene-on-some-devices-s4-s5-note#latest

    Yesterday I found the problem for my app.
    It was the custom screen...now the app works fine on Android
    http://forums.gamesalad.com/discussion/88859/game-not-working-with-splash-screen#latest

  • stannystanny Member Posts: 26

    @GeorgeGS said:
    Do you have a custom loading screen? http://bugs.gamesalad.com/show_bug.cgi?id=1375

    Yes it seems to be the custom screen issue. I removed it and it works now. Hope this gets fixed in the next build.

Sign In or Register to comment.