importar Android.support.v7.app.actionBaractivity;

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

  public class BaseActivity extends AppCompatActivity {
  }
AjmalTheDeveloper