That is because you changed your build target. Leave your build target
where it was. Set your android:minSdkVersion to 10 in your manifest.
Lint (Eclipse or command line) will point out to you when you use
classes and methods that are available from the build target but
exceed your minSdkVersion.

On Sat, Mar 16, 2013 at 3:34 PM, Kaushik Pendurthi
<kaushiks...@gmail.com> wrote:
> But when i do step 2 i get this error :
>
> error: Error retrieving parent for item: No resource found that matches the
> given name 'android:style/
>  Theme.Holo.Light'.
>
>
> On Sat, Mar 16, 2013 at 3:20 PM, Mark Murphy <mmur...@commonsware.com>
> wrote:
>>
>> Use Theme.Light on those older devices.
>>
>> If you created your project recently using the Eclipse new-project
>> wizard, much of that may already be set up for you. If not:
>>
>> Step #1: In res/values/styles.xml, have something like this:
>>
>> <resources>
>> <style name="AppTheme" parent="android:Theme.Light"/>
>> </resources>
>>
>> Step #2: In res/values-v11/styles.xml, have something like this:
>>
>> <resources>
>> <style name="AppTheme" parent="android:Theme.Holo.Light"/>
>> </resources>
>>
>> Step #3: Use AppTheme in your manifest instead of Theme.Holo.Light
>>
>>
>> On Sat, Mar 16, 2013 at 3:10 PM, Kaushik Pendurthi
>> <kaushiks...@gmail.com> wrote:
>> > hi all,
>> >
>> >  i am using  Theme.Holo.Light in android 4.2 (api level 17 ). But now i
>> > want
>> > to make it compatible to 2.3 (api level 10 ) . Can someone suggest a way
>> > i
>> > can do it?
>> >
>> > --
>> > Thanks&Regards
>> > Kaushik Pendurthi
>> >
>> > http://kaushikpendurthi.blogspot.com/
>> >
>> > --
>> > --
>> > 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
>> > ---
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "Android Developers" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> > an
>> > email to android-developers+unsubscr...@googlegroups.com.
>> > For more options, visit https://groups.google.com/groups/opt_out.
>> >
>> >
>>
>>
>>
>> --
>> Mark Murphy (a Commons Guy)
>> http://commonsware.com | http://github.com/commonsguy
>> http://commonsware.com/blog | http://twitter.com/commonsguy
>>
>> _The Busy Coder's Guide to Android Development_ Version 4.6 Available!
>>
>> --
>> --
>> 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
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Android Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to android-developers+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>
>
>
> --
> Thanks&Regards
> Kaushik Pendurthi
>
> http://kaushikpendurthi.blogspot.com/
>
> --
> --
> 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
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>



--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 4.6 Available!

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to