This question already has an answer here:

I am developing an Android game with Unity 2D, build 2018.3 personal edition. I have set base Android version to 14 and target version to latest.

There are two scenes and Admob plugin installed. The game runs well in the Unity editor, but not on real devices or emulators.

When launching the app in device, a black screen pops up and closes immediately. The whole process happens in just 1 or 2 seconds.

Any help is appreciated.


marked as duplicate by Alexandre Vaillancourt Apr 17 at 3:47

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.