Monday, July 4, 2011

Re: [android-developers] "android:required" failing when building for api level 4

Try using a newer build target, at least API Level 5.

On Mon, Jul 4, 2011 at 1:08 PM, guich <guihazan@gmail.com> wrote:
> Hi,
>
> I'm trying to install my application on a Archos 43 internet tablet.
> It failed with a INSTALL_FAILED_MISSING_FEATURE error.
>
> Searching in the forums, i saw a topic saying that we would have to
> change the uses-feature setting the required to false.
>
> When i put this line:
>
>    <uses-feature android:name="android.hardware.camera"
> android:required="false" />
>
> and compile, i get this error:
>
> error: No resource identifier found for attribute 'required' in
> package 'android'
>
> Any help is appreciated
>
> thanks
>
>     guich
>
> Ps:
> [setup] Android SDK Tools Revision 10
> [setup] Project Target: Android 1.6
> [setup] API level: 4
>
> --
> 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+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

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

Android Training in London: http://bit.ly/smand1, http://bit.ly/smand2

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment