There is a big mistake in tutorials intended for beginners: http://developer.android.com/training/basics/actionbar/styling.html
This is important because it is almost impossible to find the cause of the error for beginners.
The error is that this guide clearly states that the tutorial is valid for level 11 level (Android 3.0), but in fact this is true only for Theme.Holo theme (without additional extensions and options)
But this tutorial uses Theme.holo.Light.DarkActionBar theme, which is only a valid theme from level 14 (Android 4.0) and above.
This is just one of many examples of errors found in these manuals (which are important at best). Someone needs to fix these errors this weekend because they are really expensive and annoying timethieves. If there is a way, I can send this information to the Android team, then please tell me and I will do it. Hopefully, however, they are reading Stackoverflow. (let me suggest: the Android team should consider putting someone new to experience all the tutorials as qualifications that they are valid).
Another mistake I (and countless other people) found is that the appcombat feedback matching module does not really work if you strictly follow the tutorials. The error is unknown. I had to refuse.
As for the error in this thread, here is a quote from the textbook with italics about the discrepancy:
"Only for Android 3.0 and higher
If you only support Android 3.0 and above, you can define the background of the action bar as follows:
<resources> <style name="CustomActionBarTheme" parent="@style/Theme.Holo.Light.DarkActionBar">
ERROR1: Only Theme.Holo can be used with Android 3.0. Therefore remove the "Light.DarkActionBar, etc.
ERROR2: @ style / Theme.Holo "> will not work. You must write @android: style / Theme.Holo"> to indicate that this is a built-in theme that is referenced. (Itโs a little strange that โbuilt-inโ is not the default, but need to be specified?)
The compiler's recommendation for error correction is to define a level of 14 api of at least sdk. This is not optimal, because it creates a mismatch between Andreoid 3.0 (level 11 api). So I only use Theme.Holo, and this seems to work fine (but new output, though).
I am using Netbeans with Android support. It works well.