开发者

Android ADT r12 for MAC

开发者 https://www.devze.com 2023-04-06 10:39 出处:网络
I am getting an error message regarding a styles.xml on my Eclipse for MAC OS X. Below is the error message:

I am getting an error message regarding a styles.xml on my Eclipse for MAC OS X. Below is the error message:

error: Error retrieving parent for item: No resource found that matches the given name 'an开发者_如何学编程droid:WindowTitleBackground'.

I googled this issue and found out that I will require an SDK r11 update to solve this problem. But since the latest SDK is r12, I downloaded using my Eclipse. But I still see this problem.

I am new to Android, so I do not really know how to troubleshoot this problem. I am hoping you guys can help me. Do let me know if I need to provide more information. Thanks in advance.


Here is a bug report where everything is explained: http://code.google.com/p/android/issues/detail?id=18659

WindowTitleBackground is a private resource and thus you cannot inherit from it, instead you should copy the parent resource.


Try this: @android:style/WindowTitleBackground

You need to specify which type this @android is, so adding style should work.

0

精彩评论

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

关注公众号