No Resource Found That Matches The Given Name '@Style/ Theme.Holo.Light.Darkactionbar'

No resource found that matches the given name 'android:Theme.Holo.Light.DarkActionBar'

Change parent attribute to parent="android:style/Theme.Holo.Light.DarkActionBar"

No resource found that matches the given name '@style/ Theme.Holo.Light.DarkActionBar'

Do this:

"android:style/Theme.Holo.Light.DarkActionBar"

You missed the android keyword before style. This denotes that it is an inbuilt style for Android.

No resource found that matches the given name 'android:Theme.Material.Light.DarkActionBar'

You can try to set the values in the build.gradle like this (updated for API 25):

android {
compileSdkVersion 25
buildToolsVersion "25.0.3"
defaultConfig {
minSdkVersion 21 //oldest version you would like to support
targetSdkVersion 25
versionCode 1
versionName "1.0"
...
}
}

error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo'

You can refer to the Holo theme as parent="@android:style/Theme.Holo", but to use the Holo Theme you have to set the build target in your manifest to API level 11 or later, also you have to put the style.xml file containing the Holo theme to the folder values-v11

No resource found that matches the given name '@style/Theme.AppCompat.Light'

What are the steps for that? where is AppCompat located?

Download the support library here:

http://developer.android.com/tools/support-library/setup.html

If you are using Eclipse:

Go to the tabs at the top and select ( Windows -> Android SDK Manager ). Under the 'extras' section, check 'Android Support Library' and check it for installation.

Sample Image

After that, the AppCompat library can be found at:

android-sdk/extras/android/support/v7/appcompat

You need to reference this AppCompat library in your Android project.

Import the library into Eclipse.

  1. Right click on your Android project.
  2. Select properties.
  3. Click 'add...' at the bottom to add a library.
  4. Select the support library
  5. Clean and rebuild your project.

No resource found that matches the given name '@style/ Theme.Holo.Light.DarkActionBar

Your current minSdkVersion is 8. Either change it to 14+ or use AppCompat support library. This library will let you draw action in lower APIs also.

Inside style tag you will have to use Theme.AppCompat.light as parent.

No resource found that matches the given name Styles.xml

Did you make changes in your manifest file

<application

android:theme="@style/CustomActionBarTheme" >

</application>

Now you must be declaring it as

android:theme="@android:style/CustomActionBarTheme" >

No resource found - Theme.AppCompat.Light.DarkActionBar

AppCompat is a library project. You need to reference the library project in your android project.

Check the topic Adding libraries with resources.

Update

Adding material theme should be the way. Check https://material.io/develop/android/docs/getting-started for more details.



Related Topics



Leave a reply



Submit