ad_728x90

2015年10月29日 星期四

[Share] Eclipse error:No resource found that matches the given name

Q :

Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.Holo.Widget.ActionBar.Title'


Ans : 
  1. Right click -> Property -> Switch tab to Android -> Select project build target api level 16
  2. Add android:targetSdkVersion="16" in manifest file.
Your manifest looks like this:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"package="android.support.v7.appcompat"><uses-sdk android:minSdkVersion="7"
        android:targetSdkVersion="16"/><application /></manifest>
  1. Clean and build library project.
That's IT.

COMMENTS HAVE BEEN DISABLED FOR THIS POST [文章的評論已被禁用]

Ratings and Recommendations by outbrain