title: Why can't android.os.build.VERSION be resolved to a variable?
body: <p>I am getting the error: "android.os.Build.VERSION cannot be resolved to a variable" as an error attached to the line "int myVersion = android.os.Build.VERSION;" in the code below:</p>
  
  <pre><code>    public void test4_validate_mainOverflowMenuAbout()  {
      int myVersion = android.os.Build.VERSION;
      String myModel = android.os.Build.MODEL;
  
      if(myVersion &gt;= HONEYCOMB &amp;&amp; myModel == "MY PHONE")
          TestUtils.invokeMenuItem(@+id/dashboard_menu_item_about)
          assertTrue(TestUtils.waitForTextOnThePageWithTimeout("My Text", True, 1000));
  </code></pre>
  
  <p>I THINK that my control structure is proper, but would appreciate a gander from more experienced eyes.</p>
  
  <p>TIA for any and all assistance!</p>
  
  <p>Regards,</p>
  
  <p>Steve O'Sullivan</p>