Error in Styles_Base.Xml File - Android App - No Resource Found That Matches the Given Name 'Android:Widget.Material.Actionbutton'

Error in styles_base.xml file - android app - No resource found that matches the given name 'android:Widget.Material.ActionButton'

Go to your Android SDK installed directory then extras > android > support > v7 > appcompat.

in my case : D:\Software\adt-bundle-windows-x86-20140702\sdk\extras\android\support\v7\appcompat

once you are in appcompat folder ,check for project.properties file then change the value from default 19 to 21 as :

target=android-21.

Save the file and then refresh your project.

Then clean the project:
In project tab , select clean option then select your project and clean...

This will resolve the error. If not, make sure your project also targets API 21 or higher (same steps as before, and easily forgotten when upgrading a project which targets an older version).
Enjoy coding...

Android appcompat v7 - imported with an error

This fixed my problem. I don't know why it is not accepted but it worked out for me.

No resource found that matches the given name 'android:Widget.Material.ActionButton' when project build target is set to Amazon Fire Phone SDK Addon

The Fire Phone SDK Addon should only be needed if you are trying to compile against Amazon's proprietary APIs unique to the Fire Phone. Other things related to Amazon, such as the in-app purchasing APIs for the Amazon AppStore for Android, should not require this add-on.

Error retrieving parent for item: No resource found

Check your build.gradle file. Most probably your targetSdkVersion is below 23. Change it according to your level API.

android {

defaultConfig {
minSdkVersion 14
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
...
}

Error No resource found that matches the given name: attr 'borderWidth' in Android Studio

According to Android developer documentation, the Floating action button belongs to android.support.design.widget.FloatingActionButton which means you should add

compile 'com.android.support:design:23+'



Related Topics



Leave a reply



Submit