Monday, July 18, 2011

[android-developers] SDK Tools r12 causing aapt to fail

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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment