title: How to debug "error: cannot find symbol method" in Android code?
body: <p>Why do I get these error's and how do I fix them...noob here please help?</p>
  
  <pre><code>error: cannot find symbol method getServiceUuid()
  error: cannot find symbol method toByteArray()
  error: cannot find symbol variable UrlBeaconUrlCompressor
  </code></pre>
  
  <p>Code:</p>
  
  <pre><code>beaconManager.setRangeNotifier(new RangeNotifier() {
      @Override
      public void didRangeBeaconsInRegion(Collection&lt;Beacon&gt; beacons, Region region) {
  
          // code to get URL below!!!!!
          for (Beacon oneBeacon : beacons) {
              if (oneBeacon.getServiceUuid() == 0xfeaa &amp;&amp; oneBeacon.getBeaconTypeCode() == 0x10) {
              // This is a Eddystone-URL frame
                  String url = UrlBeaconUrlCompressor.uncompress(oneBeacon.getId1().toByteArray());
                  Log.d("BeaconsEverywhere", "I see a beacon transmitting a url: " + url +
                              " approximately " + oneBeacon.getDistance() + " meters away.");
              }
          }
      }
  }            
  </code></pre>