Android ADT r12 for MAC

I get an error regarding styles.xml on my Eclipse for MAC OS X. The following is the error message:

error: Error retrieving parent for item: No resource found that matches the given name 'android:WindowTitleBackground'.

I searched for this problem and found out that to solve this problem I would need to update the SDK r11. But since the last SDK is r12, I downloaded it using Eclipse. But I still see this problem.

I am new to Android, so I really don't know how to fix this problem. I hope you guys can help me. Let me know if I need to provide more information. Thanks in advance.

+1
android adt
source share
2 answers

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

WindowTitleBackground is a private resource, so you cannot inherit it, you must copy the parent resource instead.

+1
source share

Try the following: @android:style/WindowTitleBackground

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

0
source share

All Articles