1. Are you ready for the Galaxy S20? Here is everything we know so far!

Error message 'Cannot find symbol: View'

Discussion in 'Android Development' started by Christopher K Tom, Jul 23, 2018.

  1. Christopher K Tom

    Thread Starter

    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.

  2. Deleted User

    Deleted User Guest

    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.

Share This Page