Search Unity

apk is not opening on my device | black screen | works on other devices

Discussion in 'Android' started by stainless7221, Aug 6, 2013.

  1. stainless7221

    stainless7221

    Joined:
    Aug 6, 2013
    Posts:
    7
    Hi,
    i created a very simple test Interface in Unity, which works well in Desktop Mode.
    After building and exporting for Android, it is automatically transfered to my device. But when the app starts up, i can't even see the Unity logo, the screen is just black, it doesn't do anything. On the phones of 2 of my friends it works just fine (i sent them the apk). I also tried installing the apk manually, doesn't work either.

    I am using a HTC One S and tried even two different Roms, both CyanogenMod, one time Android 4.2, one time 4.1.2... neither does work. I would appreciate your help! Thanks!

    Edit: I attached a logcat: View attachment $logcat_unity.txt
     
    Last edited: Aug 7, 2013
  2. emongev

    emongev

    Joined:
    Jul 5, 2012
    Posts:
    36
    Check the compression PVRTC, ATC, ETC, etc...
     
  3. stainless7221

    stainless7221

    Joined:
    Aug 6, 2013
    Posts:
    7
    I just tried that, but it didn't work either. For now i'm not even using textures, i just have a camera, a light and a red cube.
    Any more ideas?
     
  4. china-hulin

    china-hulin

    Joined:
    Aug 7, 2013
    Posts:
    4
    Hava you check your version of android system?
     
  5. china-hulin

    china-hulin

    Joined:
    Aug 7, 2013
    Posts:
    4
    I've made a mistake...sorry - -..
     
  6. stainless7221

    stainless7221

    Joined:
    Aug 6, 2013
    Posts:
    7
    What do you mean?
    My Android Version should be compatible, i am using 4.2.2 on my phone and i'm building for 2.3.3 and up
     
  7. china-hulin

    china-hulin

    Joined:
    Aug 7, 2013
    Posts:
    4
    When you run the apk, what apear on your screen? did it show "progress force to close"?
     
  8. stainless7221

    stainless7221

    Joined:
    Aug 6, 2013
    Posts:
    7
    No, its just a completely black screen. Nothing on it. Not even the unity splash screen. I think the engine is not even starting.
     
  9. china-hulin

    china-hulin

    Joined:
    Aug 7, 2013
    Posts:
    4
    Sorry , I never see this error, I'm new of unity, may you try to print out some message to see where the error happend just like in Eclipse.
     
  10. stainless7221

    stainless7221

    Joined:
    Aug 6, 2013
    Posts:
    7
    I also attached a logcat now, maybe thats helpful...
     
  11. lumendes

    lumendes

    Joined:
    Nov 16, 2012
    Posts:
    3
  12. stainless7221

    stainless7221

    Joined:
    Aug 6, 2013
    Posts:
    7
    But i don't even use any GUI Elements or Shaders in my test program. I also can't even get to the unity splash screen.
     
  13. stainless7221

    stainless7221

    Joined:
    Aug 6, 2013
    Posts:
    7
    I deactivated the 32bit Display Buffer and now it works :/
    I was just trying random things. Anyone can tell me what i lost with disabling it?
     
    Musahan17 likes this.
  14. RSH1

    RSH1

    Joined:
    Jul 9, 2012
    Posts:
    256
    I'm getting this issue with an old project that worked fine in the previous versions. Checking/unchecking 32 bit display buffer has no affect, either.
     
  15. Shukerullah

    Shukerullah

    Joined:
    Mar 15, 2013
    Posts:
    97
    Facing same problem, I have deactivated the 32bit Display Buffer still facing same problem. Any solution?
     
  16. Muzzammal-sultan

    Muzzammal-sultan

    Joined:
    Jan 23, 2015
    Posts:
    1
    Hi, i've faced the same problem.. My issue was solved by setting graphic level OpenGL Es 2.0
    Go to Player Settings > Other Settings > Configurations
     
  17. MFen

    MFen

    Joined:
    Sep 25, 2013
    Posts:
    13
    Unchecking 32 bit worked for me, thanks.
     
  18. samra2494

    samra2494

    Joined:
    Nov 23, 2015
    Posts:
    21
    I have solved this problem.. select all your sprites images in your project and set these following things Check override to android set Format to "RGB 32 bit" override ETC fallback to "32 bit"

    the following screenshot will help you...
     

    Attached Files:

    • 1.PNG
      1.PNG
      File size:
      40.5 KB
      Views:
      1,241