Reputation: 9480
Possible duplicate of Can't Find Theme.AppCompat.Light for New Android ActionBar Support but here solution is only for ecllipse, How to solve this error in IntelliJ IDEA ? Please explain step by step.
Upvotes: 0
Views: 2119
Reputation: 72603
You only included the jar. But jars do not include resources (and therefore not the theme Theme.AppCompat.Light
). You have to either include the whole lib with its resources (you can find it in your sdk folder in the extras folder) or you include it with gradle like @MichaelBarany already suggested.
Upvotes: 3
Reputation: 1669
Do you have the dependency in your build.gradle
?
dependencies {
compile "com.android.support:appcompat-v7:19.0.+"
}
Upvotes: 2