In my case the syntax is correct, but I still see the error... <style name="LCIAlertDialog" parent="@android:style/AlertDialog"> <item name="android:fullDark">@drawable/popup_full_dark</item> <item name="android:topDark">@drawable/popup_top_dark</item> <item name="android:centerDark">@drawable/popup_center_dark</ item> <item name="android:bottomDark">@drawable/popup_bottom_dark</ item> <item name="android:bottomMedium">@drawable/ popup_bottom_medium</item> </style>
On Jul 18, 7:46 pm, Xavier Ducrohet <x...@android.com> wrote: > 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 > > > > > > > > > > <william.ferguson...@gmail.com> 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 android-developers@googlegroups.com > > To unsubscribe from this group, send email to > > android-developers+unsubscr...@googlegroups.com > > 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en