0
I’m taking my first steps in developing for Android (today is my second day of study). See below my configuration files and the error I’m finding:
Initially my Androidmanifest.xml was like this:
<uses-sdk
android:minSdkVersion="11"
android:targetSdkVersion="19" />
When I tried to insert the following lines into my xml style.:
<style name="MyActionBar"
parent="@android:style/Widget.Holo.ActionBar.Solid">
<item name="android:background">@drawable/actionbar_background</item>
</style>
I got the mistake next:
@android:style/Widget.Holo.Actionbar.Solid requires API level 14 (Current min is 11)
So I changed the Androidmanifest.xml for:
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="19" />
But the error persists. I need to make some further changes to recognize that I changed the minSdkVersion to 14?
PS.: I’m trying to follow the example found at this link here
If you are using the Eclipse try Project->Clean...
– ramaral
Adds as response. Worked!
– alacerda
This is a recurrent situation in Eclipse. When something that should work doesn’t work, try to use it first before you break your head looking for a solution.
– ramaral