Импорт Android.support.v7.app.ActionBaractivity;
Latest version:
import androidx.appcompat.app.AppCompatActivity;
public class BaseActivity extends AppCompatActivity {
}
AjmalTheDeveloper