title: Cannot resolve method setText(java.lang.String)
body: <p>I've looked at other questions similar to the error I'm getting, but I can't seem to figure out the issue here. All I'm trying to do is click a button and change a TextView's text.</p>
  
  <p>My code is as follows:</p>
  
  <pre><code>public class FindBeerActivity extends Activity {
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_find_beer);
  }
  //call when the user clicks the button
  public void onClickFindBeer(View view) {
  
      //Get a reference to the TextView
      View brands = (TextView) findViewById(R.id.brands);
  
      //Get a reference to the Spinner
      Spinner color = (Spinner) findViewById(R.id.color);
  
      //Get the selected item in the Spinner
      String beerType = String.valueOf(color.getSelectedItem());
  
      //Display the beers. This is where the error is
      brands.setText(beerType);
  
    }
  }
  </code></pre>
  
  <p>and the XML</p>
  
  <pre><code> &lt;TextView
      android:id="@+id/brands"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_alignLeft="@id/find_beer"
      android:layout_alignStart="@id/find_beer"
      android:layout_below="@id/find_beer"
      android:layout_marginTop="18dp"
      android:text="@string/brands" /&gt;
  </code></pre>
  
  <p>When I build I get: "error: cannot find symbol method setText(String)</p>
  
  <p>I'm following a tutorial to the letter and I can't see where I've made a mistake, so I'd appreciate it if you guys could help me out! Thanks!</p>