2

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

Adam Johns
  • 35,397
  • 25
  • 123
  • 176

2 Answers2

1

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

Adam Johns
  • 35,397
  • 25
  • 123
  • 176
0

What you need is to copy the android-support-v7-appcompat.jar of your android-support-v7-appcompat from the libs folder of it, into your project folder libs.

After Right click on your project, select Build Path -> Configure build path.

Select Library Tab then Add Jar option and browse your android-support-v7-appcompat and click OK.

Lastly clean and build.

Rod_Algonquin
  • 26,074
  • 6
  • 52
  • 63