error message:Error:(3) Error retrieving parent for item: No resource found that matches the given name ‘android:TextAppearance.Material.Widget.Button.Borderless.Colored’.Error:(4) Error retrieving parent for item: No resource found that matches the given name ‘android:TextAppearance.Material.Widget.Button.Colored’.Error:(3) Error retrieving parent for item: No resource found that matches the given name ‘android:TextAppearance.Material.Widget.Button.Borderless.Colored’.Error:(4) Error retrieving parent for item: No resource found that matches the given name ‘android:TextAppearance.Material.Widget.Button.Colored’.
solution:
Use supported version 25.1.0. I was unable to reproduce the problem with a small project targeting an older version (24), but mainly with a support library version error. Try to move to at least major version 25, delete the entire build directory, and synchronize the project again. Note that changing the supported version will cause you to change compileSdkVersion to the same dominant version.
also checks carefully to see if the resource file has been explicitly defined for property 24 (as shown in the screenshot).
This means change your compileSdkVersion in Build.gradle to 25 and above! Others are not supported.
Read More:
- 26、Error:No resource identifier found for attribute ’roundIcon’ in package ‘android’
- error: resource android:style/TextAppearance.Material.Widget.Button.Borderless.Colored not
- Android Error:AAPT: error: resource android:attr/colorError not found
- Error resource Android datalogcornerradius not found
- AAPT: error: resource android:attr/colorError not found.
- There is an error when idea creates a child item parent tag
- AAPT: error: resource android:attr/dialogCornerRadius not found.
- How to Fix com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
- Found item Attr/circleRadius more than one time
- Android studio compilation error: style attribute ‘@ android:attr/windowEnterAnimation ‘not found the ultimate solution
- Failed to load response data:No data found for resource with given identifie
- Error:No toolchains found in the NDK toolchains folder for ABI with prefix: mipsel-linux-android
- Type error: sequence item 0: expected STR instance, int found
- Android studio AAPT: error: attribute android:requestLegacyExternalStorage not found.
- Windows 10 startup item repair an operating system was’t found solution
- The reason and solution of the error of join function: sequence item 0: expected STR instance, int found
- Windows 10 startup item repair an operating system wasn’t found
- [solved] not found android.support .v7. internal.app.WindowDecorActionbar
- Android Studio could not resolve resource
- Differences between the assets directory in Android project and the purpose of resource