import android.support.v7.app.actionBarActivity;

Latest version:
  import androidx.appcompat.app.AppCompatActivity;

  public class BaseActivity extends AppCompatActivity {
  }
AjmalTheDeveloper