Android Black Screen when built

I’m using the Unity 5.5.2f1 32bits + Vuforia with VideoPlayback Scene. When i run it on my Windows, everything works very well, but when i am trying to run and build it to my Android Zenfone 2 or my Motorola G, the splash is showed normally, but after that i am getting a black screen and nothing to happens. I did everything i have read in this answers and can’t solved it. Does anyone can help me please? I don’t know what do do anymore. Thanks a lot.

  • Apparently, if you have only one
    camera set up as “don’t clear” in the
    scene, the editor will give you no
    problem but the built executable will
    not show anything at all.
  • Are you sure you are building correct
    scene?

@Addyarb and @sohail_786 Thank you very much for your attention. Finally I’ve solved that problem updating my Java for the latest version and updating all of my sdk on SdkTools. Have a good day you guys;

Hey there,

This is a fairly common issue I run into when building for Android. This is typically a result of attempting to render textures that are too large. Do your best to keep all textures at or under 512x512 for the best performance.

Here’s some steps you can take to get your textures up and running immediately - and then you can tweak them one-by-one as needed.

  • Select all textures that you’ll be using in all of your scenes.

  • At the very bottom of the inspector - tick ‘Override for Android’ to true/checked.

  • Set the ‘Max Size’ dropdown to 512.

  • Click ‘Apply’ at the bottom right.

  • Re-build your project

Good luck!

@sohail_786 I have just one scene. I’m using the “Vuforia VideoPlayback Example” that comes with Vuforia. In “Build Settings” i just clicked on “Add Open Scenes” and built. Look that Print I’m attaching below. Thanks man.

removing this permission from the manifest, solved the issue for me android:name=“android.permission.WRITE_EXTERNAL_STORAGE”

I am testing my app on a red Mi note 5 pro, a Samsung Galaxy S7, and a Motorola G6 plus Active. I should probably also note that my S7 and Motorola phones have updated to the newest Android version. When I test canon customer service app, it on phone screen goes black and work fine on emulator.

I had to update my android sdk tools. Unity 2018.2.3f1, Oculus Go, MacOSX.

Uncheck Script Build Only and try again (if apply)

Android 10, Huawai 30P Lite:
Removing “Vulkan” from ProjectSettings->Player->Android->Graphics APIs worked also for the build, black screen is gone. (Unity 2019.4.8). (I’ve only OpenGLES3 left over)