On clicking a button to migrate to another activity, the app crashes and log shows:
java.lang.IllegalStateException: Could not execute method for android:onC
Above answers are correct, but also double check to register your class in Manifest.
.Downloaded is your class name above.