Because of 2 lines, this is an error. How to eliminate?

Can not be accurate: - Paint.setShadowLayer is not supported!

code:

<item name="android:shadowColor">@color/shadowColor</item> <item name="android:shadowDx">1</item> <item name="android:shadowDy">1</item> <item name="android:shadowRadius">1</item>` 

enter image description here

    1 answer 1

    These are problems with Android Studio. Just click "Ignore".

    • I do this ... But just to do it every time ... That is, there is no way to remove it? - DevOma
    • @Omuradil is most likely not. - DenShDen