I'm trying to learn developing Android Apps and I'm following the Training on developer.android.com
I've run into quite a bit of a problem while trying to open a new activity when a user clicks a button. I followed the instructions precisely and still can't figure out the problem
I compiled the code and got an error:
The code on line 39 is the following:
public void sendMessage (View view) {
I'm using Android Studio 0.5.2.
Thanks!
I just ran into this same issue; Sripathi's suggestion worked.
import android.view.View;
worked like a charm. thanks.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With