title: Can not reference any ID from layout in Android Studio
body: <p>I just started Android Development and have hit a snag, installed the latest stable build of Android Studio, using Kotlin, I just for the life of me can not get the MainActivity to recognize any ID from the layout. I've restarted the project, Clean Project, Rebuild Project, you name it. Code is bellow please if anyone can help.</p>
  <p>It really is just a HelloWorld app and yet nothing from the layout can be referenced, I started the project again and still nothing from before will reference.</p>
  <p>MainActivity code</p>
  <pre><code>package com.example.findmyage
  
  import androidx.appcompat.app.AppCompatActivity
  import android.os.Bundle
  
  class MainActivity : AppCompatActivity() {
      override fun onCreate(savedInstanceState: Bundle?) {
          super.onCreate(savedInstanceState)
          setContentView(R.layout.activity_main)
          
  
      }
  }
  
  </code></pre>
  <p>And for the layout:</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;androidx.constraintlayout.widget.ConstraintLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot;
      xmlns:tools=&quot;http://schemas.android.com/tools&quot;
      android:id=&quot;@+id/text&quot;
      android:layout_width=&quot;match_parent&quot;
      android:layout_height=&quot;match_parent&quot;
      tools:context=&quot;.MainActivity&quot;&gt;
  
      &lt;TextView
          android:id=&quot;@+id/textView&quot;
          android:layout_width=&quot;wrap_content&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:text=&quot;Find My Age&quot;
          android:textSize=&quot;19sp&quot;
          app:layout_constraintBottom_toBottomOf=&quot;parent&quot;
          app:layout_constraintEnd_toEndOf=&quot;parent&quot;
          app:layout_constraintHorizontal_bias=&quot;0.498&quot;
          app:layout_constraintStart_toStartOf=&quot;parent&quot;
          app:layout_constraintTop_toTopOf=&quot;parent&quot;
          app:layout_constraintVertical_bias=&quot;0.144&quot; /&gt;
  
      &lt;EditText
          android:id=&quot;@+id/yearBornInput&quot;
          android:layout_width=&quot;304dp&quot;
          android:layout_height=&quot;48dp&quot;
          android:autofillHints=&quot;&quot;
          android:ems=&quot;10&quot;
          android:hint=&quot;Enter Year Born&quot;
          android:inputType=&quot;number&quot;
          app:layout_constraintBottom_toBottomOf=&quot;parent&quot;
          app:layout_constraintEnd_toEndOf=&quot;parent&quot;
          app:layout_constraintHorizontal_bias=&quot;0.497&quot;
          app:layout_constraintStart_toStartOf=&quot;parent&quot;
          app:layout_constraintTop_toBottomOf=&quot;@+id/textView&quot;
          app:layout_constraintVertical_bias=&quot;0.05&quot; /&gt;
  
      &lt;TextView
          android:id=&quot;@+id/ageResult&quot;
          android:layout_width=&quot;wrap_content&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:layout_marginTop=&quot;79dp&quot;
          android:text=&quot;Your Age Will Be Here&quot;
          android:textSize=&quot;20sp&quot;
          app:layout_constraintBottom_toBottomOf=&quot;parent&quot;
          app:layout_constraintEnd_toEndOf=&quot;parent&quot;
          app:layout_constraintHorizontal_bias=&quot;0.498&quot;
          app:layout_constraintStart_toStartOf=&quot;parent&quot;
          app:layout_constraintTop_toBottomOf=&quot;@+id/yearBornInput&quot;
          app:layout_constraintVertical_bias=&quot;0.0&quot; /&gt;
  
      &lt;Button
          android:id=&quot;@+id/buttonCalc&quot;
          android:layout_width=&quot;wrap_content&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:text=&quot;Get My Age&quot;
          app:layout_constraintBottom_toBottomOf=&quot;parent&quot;
          app:layout_constraintEnd_toEndOf=&quot;parent&quot;
          app:layout_constraintHorizontal_bias=&quot;0.498&quot;
          app:layout_constraintStart_toStartOf=&quot;parent&quot;
          app:layout_constraintTop_toBottomOf=&quot;@+id/ageResult&quot;
          app:layout_constraintVertical_bias=&quot;0.267&quot; /&gt;
  
  &lt;/androidx.constraintlayout.widget.ConstraintLayout&gt;
  </code></pre>