title: Import android support not being resolved
body: <p>I am working on an android project where Android support library v7-appcompat is being added by eclipse.Now after following android developers website, I have added dependency for this support library.My project is free of errors but while running the project i am getting the error <strong>"The Import android.support.v7 cannot be resolved"</strong>.I am attaching the log file and my main activity.I have followed almost every post related to this topic on SO but  the issue is not resolved yet.</p>
  
  <blockquote>
    <p>LOGCAT</p>
  </blockquote>
  
  <pre><code>05-26 12:07:19.613: E/AndroidRuntime(18953): java.lang.Error: Unresolved compilation problem: 
  05-26 12:07:19.613: E/AndroidRuntime(18953):    The import android.support.v7 cannot be resolved
  05-26 12:07:19.613: E/AndroidRuntime(18953):    at com.sim.clientkeeper.MainActivity.&lt;init&gt;(MainActivity.java:7)
  05-26 12:07:19.613: E/AndroidRuntime(18953):    at java.lang.Class.newInstanceImpl(Native Method)
  
  
  
  `import android.app.Activity;
  import android.content.Intent;
  import android.database.sqlite.SQLiteDatabase;
  import android.os.Bundle;
  import android.support.v7.app.ActionBar;
  import android.support.v7.app.AppCompatActivity;
  
  import android.view.Menu;
  import android.view.MenuItem;
  import android.view.View;
  
  public class MainActivity extends AppCompatActivity {
      SQLiteDatabase sqlDba;
      SQLiteAdapter DbAdapter;
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
  
          setContentView(R.layout.activity_main);
          DbAdapter = new SQLiteAdapter(getApplicationContext());
            DbAdapter.open();
  
      }
  
      @Override
      public boolean onCreateOptionsMenu(Menu menu) {
          // Inflate the menu; this adds items to the action bar if it is present.
          getMenuInflater().inflate(R.menu.main, menu);
          return true;
      }
  
      @Override
      public boolean onOptionsItemSelected(MenuItem item) {
          // Handle action bar item clicks here. The action bar will
          // automatically handle clicks on the Home/Up button, so long
          // as you specify a parent activity in AndroidManifest.xml.
          int id = item.getItemId();
          if (id == R.id.action_settings) {
              return true;
          }
          return super.onOptionsItemSelected(item);
      }
  
      public void onClickClient(View v)
      {
          Intent i=new Intent(this,CLient_List_Activity.class);
          startActivity(i);
      }
  
      public void onClickTravel(View v)
      {
          Intent i=new Intent(this,Travel_Activity.class);
          startActivity(i);
      }
  
      }
  `
  </code></pre>
  
  <p>I have added the appcompat library from project-->properties-->android-->adding it in the library section.
  I am extending my MainActivity from AppCompatActivity as mentioned in earlier posts about the same topic.</p>