IlgarSky
IlgarSky

Reputation: 43

Please solve appcompat_v7 error

My Android Support Library is properly installed by SDK Manager. Using this link I doing this procedure. Selecting Adding Library with recources - Using Eclipse > doing these procedure. After I finish, created "android-support-v7-appcompat" file in Eclipse.

android-support-v7-appcompat > res > values-v21 > styles_base.xml >

<style name="Base.Widget.AppCompat.ActionButton"
       parent="android:Widget.Material.ActionButton">
</style>

this line creating with error. How I can fix this problem? I read some question about appcompat_v7 error but I can not fix it yet. Please tell me effective way to solve it forever.

Upvotes: 0

Views: 344

Answers (2)

GPack
GPack

Reputation: 2504

If in console the error is

Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton'

, on android-support-v7-appcompat library project choose Properties/Android/Project Build Target and set checkbox on Android 5.0 to solve.

Upvotes: 0

Theo
Theo

Reputation: 3139

You need to remove the android-v4 jar file under the libs folder,and add it from the android-support-v7-appcompat libs folder. I had this problem before,and I found it so annoying!

Upvotes: 1

Related Questions