Error:resource android:style/TextAppearance.Material.Widget.Button.Borderless.Colored not found

android:style/TextAppearance.Material.Widget.Button.Borderless.Colored was added in API 24 so you can’t use it with version 23. You can use a style that was added before version 23. You can also apply new styles to newer-versioned devices and apply an old style as a default: https://developer.android.com/guide/topics/ui/look-and-feel/themes.html#Versions

Added 03/20/’18 12:32

As you’re not familiar with Android, a simple solution is to just use an older text appearance. This at least makes the app working on your Android 5 device. Afterwards you can learn about how to further customize the TextView, but for now let’s just make it work.

  1. The appearance of text may be set for a certain TextView within a layout file, located at [something]/res/layout/xxx.xml, which the “layout” could also be “layout-xxx”.
  2. It may be set within a style file, located at [something]/res/values/styles.xml, “values” may also be “values-xxx”.

folder “res” can be easily found from the project tree in Android Studio.
You can also use Ctrl+Shift+F to search in whole project.
When you find it, just delete or comment the line.

Leave a Comment