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

My app crashes as soon I press it on my device

Discussion in 'Editor & General Support' started by Reda2, Jul 25, 2014.

  1. Reda2

    Reda2

    Joined:
    Jul 25, 2014
    Posts:
    37
    So I want to start making a 2D game for android, but first I wanted to test out the process of building the apk. So I created a new 2D project and added a simple cube to the scene, I then built it, that was done with no problems. I then transferred the apk to my device (Sony Xperia Z, running at 4.4.2) and ran it from there and it installed it on the device, so far no problems. But here is my problem, when I press on the app icon it goes to a black screen about to load up but then quickly exits the app.

    I also tried using "Build and Run". I connected my phone with USB and did "Build and Run" but the same problem occurred, the app launches to a black screen but then quickly exits out.

    I think I have installed the JDK and the SDK correctly, I don't think the problem is there, it might be with the versions or something, I really don't know. If you have any idea of why this is happening please let me know.

    If any further details is needed to identify the problem please let me know and will do my best to provide it.

    *NOTE: PROBLEM SOLVED: I just update Unity and it's perfect now.

    Thanks
    -Reda
     
    Last edited: Jul 26, 2014
  2. Graham-Dunnett

    Graham-Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Posts:
    4,287
  3. Reda2

    Reda2

    Joined:
    Jul 25, 2014
    Posts:
    37