Error AndroidRuntime(32379): java.lang.IllegalStateException: Could not find a method sendMessage(View) in the activity class com.mycompany.myapp2.MainActivity for onClick handler on view class android.widget.Button
I got that one from Logcat after executing myapp2 from AIDE. I was testing out something about second activity. Basically the app has a text input and a send button. If I press the send button after writing something in the text field, it will crash and this error will show up.