error: style attribute 'attr/textColorPrimary (aka com.kyousuke.zhihudaily:attr/textColorPrimary)' not found.
Message{kind=ERROR, text=error: style attribute 'attr/textColorPrimary (aka com.kyousuke.zhihudaily:attr/textColorPrimary)' not found., sources=[C:\Users\Nietzche\.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.1.1.aar\4e6f56ab79cc04c70f408636e9bff654\res\values\values.xml], original message=, tool name=Optional.of(AAPT)}
原先设置属性
<style name="AppTheme" parent="Theme.AppCompat.DayNight">
<item name="textColorPrimary">#ffffff</item>
</style>
在属性名前加android:
<style name="AppTheme" parent="Theme.AppCompat.DayNight">
<item name="android:textColorPrimary">@color/ic_color</item>
</style>