“You need to use a Theme.Appcompat theme…” when testing ActionBarActivity, but I am September 4, 2023 by Tarik There are 2 things I’d try: Remove the setTheme from onCreate, it is redundant with the manifest and may lead to confusion Set the theme at Application instead of Activity level in the manifest