I figured it out from a combination of the info on these two pages: http://www.higherpass.com/Android/Tutorials/Working-With-Android-Contacts/1/ http://android-developers.blogspot.com/2009/04/backward-compatibility-for-android.html
I needed to write an abstract wrapper class that generates a concrete class depending on the SDK version. Then I had to implement different concrete classes for each set of code I needed and generate them on the fly depending on the SDK version. Weird stuff! PS. I know it's likely that the people on this thread knew that already or didn't need to know it, but I'm posting this to help anyone who may find this thread on Google. On Jan 27, 8:17 am, Mike Olson <[email protected]> wrote: > I know this is a bit of an old thread, but I implemented the > workaround above to get my 1.5 emulator to launch and now my code > crashes when I try to run it in the 1.5 emulator. The error is an > InvocationTargetException with a cause of VerifyError. I'm currently > searching for answers on the web but I'm not finding anything. Any > ideas? -- 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

