渲染问题
不支持Path.approximate()。
无法解析文件
将ProgressBar
添加到Layout
后,〜\ sdk \ platforms \ android-21 \ data \ res \ drawable \ progress_medium_material.xml 错误
如何解决?
答案 0 :(得分:10)
您还可以将渲染主题切换为Theme.Black
并选择API 20
版本以在Android Studio中渲染布局。
答案 1 :(得分:2)
这似乎是appcompat-v7中的一个错误:21。+
https://code.google.com/p/android/issues/detail?id=77865
我已经将应用程序的build.gradle文件中的compileSdkVersion和targetSdkVersion从21更改为20,现在一切正常。
答案 2 :(得分:2)
我在真实设备上测试过并且有效。只需忽略错误。