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

2011-09-01 Thread Raymond Chenon
On 28 juil, 15:48, Xavier Ducrohet wrote: > > This means that your custom style is referencing a parent that *will > not* be valid once installed on a device. It'll referenced either > another resources or none at all, and it won't do what you want. > > If you wish to reuse a style that is privat

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

2011-09-01 Thread yellowjacket
Did I miss something? If the styles in question are private, and I make a copy, and they change in the future, have I not lost the point of extension? Say I wish to extend android:WindowTitle. >From the source @ http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/res/res/v

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

2011-08-25 Thread Marcus Wolschon
So...what is a good public replacement for parent="android:WindowTitle" ? So everything except the few things you change are inherited from whatever the current platform uses. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this

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

2011-08-16 Thread jtoolsdev
Then this blog article needs to be rewritten: http://android-developers.blogspot.com/2011/04/customizing-action-bar.html Because it references style elements that don't work. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this

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

2011-07-29 Thread Indicator Veritatis
Please disable it! We really don't need old invalid syntax causing problems like this. You can see from this thread what kind of problems allowing it already caused. On Jul 29, 2:41 pm, Xavier Ducrohet wrote: > one last thing. > > I'm looking at actually disabling this syntax anyway for the next

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

2011-07-29 Thread Xavier Ducrohet
one last thing. I'm looking at actually disabling this syntax anyway for the next aapt release, so you may as well just fix your styles correctly right now. On Thu, Jul 28, 2011 at 12:18 AM, Diederik wrote: > From the logged bug: > > Comment 6 by tomy...@gmail.com, Jul 26 > parent="@*android:sty

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

2011-07-29 Thread Xavier Ducrohet
You really really really do not want to do this. please read all my comments on the bug. While you think it does what you want, it will *not* work on any devices. It would only work on a device using the same build as the SDK, which is basically only the emulator. Every other device will have ass

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

2011-07-29 Thread Diederik
>From the logged bug: Comment 6 by tomy...@gmail.com, Jul 26 parent="@*android:style/x" seems to be the work around in the new Tool. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developer

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

2011-07-28 Thread Xavier Ducrohet
hello everyone, I just commented on the bug but I'll copy-paste it here too. Short version: this is working as intended (and has it should always have been). What is happening is that some styles, like WindowTitle are not public (you won't find them in android.R.style). You should not be extendi

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

2011-07-23 Thread Streets Of Boston
Tools revision 12 is fine. Platform Tools revision 6 has this issue. Downgrade that one to 5 for the time being. -- 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 un

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

2011-07-22 Thread William Ferguson
It doesn't matter which style is inherited, all appear to fail. The triggering factor is a style elements with a parent reference to "@android:style/SomeAndroidStyle" If you use inherited styles, don't update tools to r12 in the SdkManager. Or you have to rollback to an old version of the platform

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

2011-07-22 Thread Rick Alther
I'm experiencing the same problem, but I'm hitting it with these inherited styles: - WindowTitleBackground - DialogWindowTitle - Widget.TextView.ListSeparator.White Reverting to Platform Tools R5 worked for me as well (Thanks teo2k!) - Rick -- You received this message because you ar

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

2011-07-20 Thread William Ferguson
That's fine as long as it gets fixed. Suggest those who get bit by it star the issue. On Jul 20, 9:34 pm, Dennis Yarborough wrote: > The fix that teo2k provided us resolves the problem for me and it appears > you as well. Unless you're releasing your application with only the very > latest Andro

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

2011-07-20 Thread Dennis Yarborough
The fix that teo2k provided us resolves the problem for me and it appears you as well. Unless you're releasing your application with only the very latest Android platform is it really that big of a problem? I'm sure that Google will get it fixed before it "does become" a big issue. -- You rec

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

2011-07-20 Thread Xiang Li
I meet same problem, even if use parent="@android:style/WindowTitle" can't fix it yet. #FFFDB900 I can just only use old version avoid this problem. It's a big problem, google should fix it ASAP. -- You received this message because you are subs

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

2011-07-19 Thread William Ferguson
Thanks teo2k, I can now build my apps again, albeit with an old version of the platform-tools. I created a very simple project that highlights the failure and raised a bug for this http://code.google.com/p/android/issues/detail?id=18659 BTW where did you find those links to the platform-tools?

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

2011-07-19 Thread teo2k
I managed to fix it by replacing the platform-tools_r06 with platform- tools_r05 It's not a proper fix, but it works for now http://dl.google.com/android/repository/platform-tools_r05-linux.zip http://dl.google.com/android/repository/platform-tools_r05-macosx.zip http://dl.google.com/android/repo

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

2011-07-19 Thread William Ferguson
Hmm, @android:style/WindowTitle doesn't work either. [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\res, --auto-ad

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

2011-07-18 Thread Kostya Vasilyev
19.07.2011 2:00, William Ferguson пишет: Thanks Kostya, Xavier. I'll give that a whirl tonight. Is there a good reference anywhere about the right way to reference and handle styles? There is this: http://developer.android.com/guide/topics/ui/themes.html And personally, I like looking at

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

2011-07-18 Thread William Ferguson
Thanks Kostya, Xavier. I'll give that a whirl tonight. Is there a good reference anywhere about the right way to reference and handle styles? All I've ever managed to find are disjointed snippits by other developers. And have managed to proceed from that and by copying examples in the Android sou

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

2011-07-18 Thread teo2k
In my case the syntax is correct, but I still see the error... @drawable/popup_full_dark @drawable/popup_top_dark @drawable/popup_center_dark

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

2011-07-18 Thread Kostya Vasilyev
It's this parent reference here: The canonical syntax, I believe, would be: