[Solved] Android – unexpected app crash


I don’t see the Button with the ID “bYoutube” in your xml file. It looks like when you look for that Button, the call returns null, so when you try to set its onClickListener, your app crashes.

8

solved Android – unexpected app crash