Skip to content Skip to sidebar Skip to footer

In Android Studio Message "paint.setshadowlayer.. Graphics Not Accurate.." Without This Code

I get this message in android studio xml preview: 'The graphics preview in the layout editor may not be accurate: -Paint.setShadow is not supported.' Without having this line of co

Solution 1:

don't worry, it is saying that, preview of code will not as same as output, sometimes Invalid cache/restart will work, or change API level in combo box at the top of graphical preview.

Solution 2:

Its showing this because of custom graphics. Hopefully the will have these views in next android studio update

Solution 3:

The reason for warning is because you are using some of the material design elements (like floating action button) this warning can be removed by using Cordinate layout with these element

Solution 4:

As it is not supporting because of the version tools From: compileSdkVersion 26 buildToolsVersion "26.0.1"

to:compileSdkVersion 19 buildToolsVersion "19.0.0"

may be like version compilation of lower to higher sdk..

U can change the version from higher to lower.

---------- oR

U can IGNORE ALL FIDELITY WARNINGS and run the CODE

--

Post a Comment for "In Android Studio Message "paint.setshadowlayer.. Graphics Not Accurate.." Without This Code"