On Feb 3, 5:54 pm, Streets Of Boston <[email protected]> wrote: > Under what version of the Android OS did you compile your app? > Under what version of the Android OS is your app actually running?
I believe the emulator can be configured to behave like older versions of the Android OS. This may be useful here. There is a tool called "dexdeps" (see dalvik/tools/dexdeps in the sources) that will emit a list of all fields and methods that are referenced by an APK but not resolved by classes within the APK. The idea is to see the set of things it depends on. My intention is that the output of this can be combined with the N.xml API description files to determine at a basic level if an APK is compatible with a certain version of the Android API. FWIW, Android 2.x will give you a more specific exception (NoSuchMethod, ClassNotFound) at the point of the failure rather than an ambiguous "VerifyError" for the entire class. Unfortunately it's likely failing on the older versions of the OS. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

