• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Error message 'Cannot find symbol: View'

I'm new to Android development and I just started playing with Android Studio 3.1.3. I'm following a tutorial from android.developer.com and I'm on the part: Start Another Activity - Respond to the Send button. Thing is, when I add the sendMessage() method stub, I get an error message saying the symbol View cannot be found. I tried the following steps to resolve the issue but I'm not successful:

- Place the cursor on View then click ALT-ENTER but the menu Import class doesn't appear.
- I clicked File - Invalidate Caches/Restart

Any useful assistance is welcome.
Christopher
 
Hi and welcome to Android Forums. The place to ask coding questions is the Android Development forum, and I will move your thread over there.
You may wish to review the sticky posts at the top of that forum, which contain some useful information.
To answer your question, we'll need to see your code, including the line you're having difficulties with.
 
Back
Top Bottom