It's likely not r12 that is the problem but the new platform-tools (ie
new aapt) that shipped with 3.2

This is not normal syntax, although aapt has supported it in the past.
It is possible (I'm not sure, aapt is handled by the framework team)
this is now unsupported. Try changing it to @android:style/WindowTitle
which is the right way of referencing resources.

On Mon, Jul 18, 2011 at 7:16 AM, William Ferguson
<[email protected]> wrote:
> Since updating my SDK to r12, an existing project (with zero code
> changes) now fails during aapt generation with:
>
> [INFO] C:\Dev\Android-sdk\platform-tools\aapt.exe [package, -m, -J, C:
> \Source\android\Jumblee\target\generated-sources\r, -M, C:\Source
> \android\Jumblee\target\filtered-manifest\AndroidManifest.xml, -S, C:
> \Source\android\Jumblee\target\generated-sources\combined-resources
> \res, --auto-add-overlay, -I, C:\Dev\Android-sdk\platforms
> \android-10\android.jar]
>
> [INFO] C:\Source\android\Jumblee\target\generated-sources\combined-
> resources\res\values\theme.xml:16: error: Error retrieving parent for
> item: No resource found that matches the given name
> 'android:WindowTitle'.
>
>
> The relevant lines from the resource file are:
>
>    <!-- Set the theme for the window title -->
>    <!-- NOTE: setting android:textAppearance to style defined above --
>>
>    <style name="CustomWindowTitle" parent="android:WindowTitle">
>         <item name="android:textAppearance">@style/
> CustomWindowTitleText</item>
>    </style>
>
> Has anyone seem something similar?
> Or better still know wtf is going on?
>
> William
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to