Q:

Error: Cannot find symbol class view

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:
Error:(39, 29) error: cannot find symbol class View
The code on line 39 is the following:
public void sendMessage (View view) {

I'm using Android Studio 0.5.2.  
Thanks! 

A:

I just ran into this same issue; Sripathi's suggestion worked.  
 import android.view. View;

worked like a charm.  thanks. 

A:

I was also facing the same problem. " cannot find symbol class View"
Please import file given below
import android.view. View;

in MainActivity.java file

