Reputation: 36343
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">
Upvotes: 2
Views: 10071
Reputation: 36343
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
Upvotes: 1
Reputation: 26198
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.
Upvotes: 0