开发者

'no resource identifier found for attribute 'textcolor' in package 'android''

开发者 https://www.devze.com 2023-02-21 10:24 出处:网络
When creating my hello android app, I am getting an error: \'no resource identifier found for attribute \'tex开发者_高级运维tcolor\' in package

When creating my hello android app, I am getting an error:

'no resource identifier found for attribute 'tex开发者_高级运维tcolor' in package 'android''

I am a complete newb to android development and I thought that I must have put in the wrong https in the location field when building my ADT, but from what I can see on this site, I did the right one. What or where to I go or do to solve this problem?


You should use:

android:textColor="#ffff0000"

Note the capital 'C'. If this doesn't work you might also check the xmlns attribute on your xml root element. It should be:

xmlns:android="http://schemas.android.com/apk/res/android"
0

精彩评论

暂无评论...
验证码 换一张
取 消