问题
Rendering Problems
Path.approximate() not supported.
Failed to parse file
~\sdk\platforms\android-21\data\res\drawable\progress_medium_material.xml error after add ProgressBar
to Layout
How to resolve?
回答1:
You can also switch rendering theme to Theme.Black
and pick API 20
version to render layouts in Android Studio.

回答2:
It seems to be a bug in the appcompat-v7:21.+
https://code.google.com/p/android/issues/detail?id=77865
I've changed compileSdkVersion and targetSdkVersion in my app's build.gradle file from 21 to 20 and everything works now.
回答3:
I tested on a real device and it works. Just ignore the error.
来源:https://stackoverflow.com/questions/26741111/path-approximate-not-supported-on-android-studio-0-8-14-beta