0

I had an error

Failed to load AppCompat ActionBar with unknown error in android studio

and the solution was simple:

change

< style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">

to

<   style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar">

I am not clear why this change was made. Please can anyone provide me with the reason?

Cindy Meister
  • 25,071
  • 21
  • 34
  • 43
  • https://stackoverflow.com/q/17870881/1531971 https://stackoverflow.com/q/21900853/1531971 (etc.) –  Mar 01 '18 at 16:05

1 Answers1

0

There seems to be an issue with how some versions of Android Studio handle some appcompat support library versions. You can find a more detailed answer here:

Failed to load AppCompat ActionBar with unknown error in android studio

After updating AS to 3.2 and Gradle to 4.6, the problem is gone for me.

Mateja
  • 46
  • 4