On Thu, Jun 9, 2011 at 8:07 AM, souissi haythem <haythe...@gmail.com> wrote:
> so why i got this message??
>
> [2011-06-09 14:06:19 - Screen] ERROR: Application requires API version
> 8. Device API version is 7 (Android 2.1-update1).
> [2011-06-09 14:06:19 - Screen] Launch canceled!
>
> And when i try this in an AVD 2.2, it work??

You have set the android:minSdkVersion of your application to 8. This
has absolutely nothing to do with
ACTION_SCREEN_OFF or ACTION_SCREEN_ON.

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

Android App Developer Books: http://commonsware.com/books

-- 
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

Reply via email to