import android.support.v7.app.ActionBarActivity

With Latest version:

  import androidx.appcompat.app.AppCompatActivity;
 
  public class BaseActivity extends AppCompatActivity {
 
  }