title: Android app data extract it is getting compilation error
body: <pre><code>fun clickFunction(view: View)
  {
      setContentView(R.layout.activity_main);
      EditText txt = (EditText) clearFindViewByIdCache(R.id.editText);
      EditText pwd = (EditText) clearFindViewByIdCache(R.id.editText2);
      Log.i("info",txt.getText().toString());
  }
  </code></pre>
  
  <p>I want to extract the values from the plain text view in <em>android studio 3.1.4</em> but i am not able to because I get an compilation error.</p>