Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Application crashes after startup with no clear error messages?

Discussion in 'Android' started by Jack-van-der-Bilt, Jul 14, 2015.

  1. Jack-van-der-Bilt

    Jack-van-der-Bilt

    Joined:
    Jul 13, 2015
    Posts:
    17
    Hello
    i'm working on a android 2d platformer and its done, 100% compleet and its ready to put on the app store... but my problem is the APK crashes after startup without any errors?

    i tested it on android 3.x and up, 4.x and 5.x
    i created multiple projects, placed some cubes and build the APK but it doesn't work....

    i'm using Unity 5.1.0f and currently my main development device is the Sony Xperia z3 compact running google android 5.0.2. if anyone could help me with this i appreciate it alot! i can give all the information you need.
     
  2. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,559
    Let me understand - your game, as well as any other "empty project" you create crash immediately when running on the device ?

    Are you getting any error dialog ? What is the exact behavior?

    Also, did you try to use android tools, such as logcat to see what exactly is going on at the time of crash ?

    Also, if possible, you could share the apk with me (in private) and I can test it on my own device if you want to see if it crashes.
     
  3. Jack-van-der-Bilt

    Jack-van-der-Bilt

    Joined:
    Jul 13, 2015
    Posts:
    17
    My english / descriptions are really bad so sorry for that, but you are right. they crash immediately and empty projects to.
    I dont get any errors and i cant find any logs with errors in it.

    It opens, black screen for max 1 second and then it closes with the message "Name has stopped".
    i'm gone check logcat and if i find the problem i will share it with you guys.
     
  4. Jack-van-der-Bilt

    Jack-van-der-Bilt

    Joined:
    Jul 13, 2015
    Posts:
    17
    I was recording it but all my recordings are green... i dont know why but i made some screen shots after opening the application - http://prntscr.com/7soru1

    Note - The program stays open, it just goes to my homescreen just before showing the unity logo.
     
    WILEz1975 likes this.