No resource found that matches the given name '@style/Theme.AppCompat.Light.DarkActionBar'

10,005

I had several 3rd party libraries contained in my project. When I selected each of them and imported them as a module, the style error went away.

File > Project Structure > Modules > click + > import module > add each project folder as module

Share:
10,005
Adam Johns
Author by

Adam Johns

Software developer

Updated on June 28, 2022

Comments

  • Adam Johns
    Adam Johns almost 2 years

    AndroidManifest.xml

    <uses-sdk
        android:minSdkVersion="14"
        android:targetSdkVersion="17" />
    

    I am using Android Studio (non gradle project), so no previous answers have been helpful to me.

    In my styles.xml I am getting the error from the title on

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

    enter image description here