everything was working fine till yesterday, and that out of nowhere appeared following problem. Once the main activity is started there are two buttons which based on the selection initiate new activity. The onClick method checkStats works normally, however method startHappinessMeter (uppon click) results in "Unfortunately, Happy App has stopped":
Main Activity code:
Error which is returned when I press the button:
I checked the line 26 in below provided java file and I cant understand why it guides me to the greatBtn onClick listener?
Help would me much appreciated!
posted 4 years ago
Found the solution In the OnCreate the setContentView was missing.
If somebody says you look familiar, tell them you are in porn. Or in these tiny ads:
Programmatically Create PDF Using Free Spire.PDF with Java