android studio 0.8.14 beta不支持Path.approximate()

时间:2014-11-04 17:16:08

标签: android android-studio android-progressbar android-5.0-lollipop material-design

渲染问题

不支持Path.approximate()。

无法解析文件

ProgressBar添加到Layout

后,

〜\ sdk \ platforms \ android-21 \ data \ res \ drawable \ progress_medium_material.xml 错误

如何解决?

3 个答案:

答案 0 :(得分:10)

您还可以将渲染主题切换为Theme.Black并选择API 20版本以在Android Studio中渲染布局。
Android Studio toolbar

答案 1 :(得分:2)

这似乎是appcompat-v7中的一个错误:21。+

https://code.google.com/p/android/issues/detail?id=77865

我已经将应用程序的build.gradle文件中的compileSdkVersion和targetSdkVersion从21更改为20,现在一切正常。

答案 2 :(得分:2)

我在真实设备上测试过并且有效。只需忽略错误。