|
|
I'm trying to create an XML The code:
What am i doing wrong? |
|
That attribute was added in API 21. Is your project targeting API 21? –
Christian Göllner
Nov 18 '14 at 3:34
| |||
|
| |||
|
|
then I would try the usual Eclipse stuff. Build -> Clean -> All projects. Can't remember anything else that could be the problem. –
Christian Göllner
Nov 18 '14 at 3:39
| ||
|
Also, don't forget that you have to target API 21 in AndroidManifest.xml and also in the project properties. –
Christian Göllner
Nov 18 '14 at 3:40
| ||
|
|
本文解决了一个关于在XML布局文件中使用ProgressBar组件时出现的错误,该错误提示找不到属性'indeterminateTint'。通过确认项目目标API级别为21及以上,并进行项目清理等步骤解决了问题。
3662






