Having Trouble with my Splash Screen

前端 未结 2 1330
[愿得一人]
[愿得一人] 2021-01-29 12:47

So I just started to set up a splash screen that would show for 5 seconds and then go to my main menu. I think I labeled something wrong in the process and now my app is force c

2条回答
  •  被撕碎了的回忆
    2021-01-29 13:17

    As your log cat suggests..

    at com.Dragon_Fruit.DragonFruitActivity.onCreate(DragonFruitActivity.java:44)
    

    There's some problem in your DragonFruitActivity file. On line 44 inside OnCreate callback..

    I guess removing that can solve the issue of NullpointerException.

提交回复
热议问题