title: Android cannot be resolved to a type
body: <p>I'm getting "cannot be resolved to a type" in my code. I'm looking for solution but all solutions are not working. </p>
  
  <pre><code>import android.app.Activity;
  import android.os.Bundle;
  import android.view.View;
  
  public class Vortex extends Activity {
  
      private static final String LOG_TAG = Vortex.class.getSimpleName();
      private VortexView _vortexView; //there is the problem
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          _vortexView = new VortexView(this);
          setContentView(_vortexView);
      }
  }
  </code></pre>
  
  <p>The problem is with VortexView in this code. Eclipse tell me that VortexView cannot be resolved to a type.</p>
  
  <p>Any solution?</p>