在创建我的 hello android 应用程序时,出现错误:
'no resource identifier found for attribute 'textcolor' in package 'android''
我是 android 开发的新手,我认为在构建我的 ADT 时我一定在位置字段中输入了错误的 https,但从我在 this site 上看到的情况来看,我做对了。我去哪里或做什么来解决这个问题?
最佳答案
你应该使用:
android:textColor="#ffff0000"
注意大写字母“C”。如果这不起作用,您还可以检查 xml 根元素上的 xmlns
属性。应该是:
xmlns:android="http://schemas.android.com/apk/res/android"
关于android - '在包 'textcolor' 中找不到属性 'android' 的资源标识符',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5488918/