Sounds like some code in the compat library should be using reflection to call late version APIs and isn't (or perhaps it should contain a copy of this method - it sounds quite trivial to me).

22.10.2011 14:13, Zsolt Vasvari пишет:
As expected, the compiled V4 sample doesn't run on Android 1.6.

It gets a VerifyError on DatabaseUtils.appendSelectionArgs() which was
introduced in Level 11.  Just to build it, I had to compile against
Level 14 -- anything<  14 gives an AAPT errror.



On Oct 21, 8:24 pm, Mark Murphy<mmur...@commonsware.com>  wrote:
On Thu, Oct 20, 2011 at 10:01 PM, Zsolt Vasvari<zvasv...@gmail.com>  wrote:
I downloaded the Version 4 CL, and trying to compile the Sample
project (V4), but running into all kinds of compile issues, such as
MenuItem.SHOW_AS_ACTION_IF_ROOM not defined until Level 11.
- I create a New Project from Existing Sources (SDK/extras/android/
support/v4/samples/Support4Demos)
- Added the android-support-v4.jar
- Set the project's build target to API Level 4 (I also tried 10, same
result as expected).
There are other compile issues as well, but I know this used to work
before the last CL update.
Obviously, I could compile it if I set the build target to 11, but I
still couldn't run it pre-HC.
Well, at least in terms of SHOW_AS_ACTION_IF_ROOM, that is only used
by MenuCompat, and so it will work on pre-HC.

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

_The Busy Coder's Guide to Android Development_ Version 3.6 Available!- Hide 
quoted text -

- Show quoted text -

--
Kostya Vasilyev

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