On Sun, Feb 20, 2011 at 4:03 AM, Tiger Wang <[email protected]> wrote: > I'm trying to use htmlparser (http://htmlparser.sourceforge.net/) in > the Android SDK but I found after I added the htmlparser.jar into the > build path there would be "conversion to dalvik format failed with > error 1" error. Anyone has used htmlparser in the Android successfully > before? If so, how to fix this error?
Download the source code and either add it to your project or compile it as a separate JAR but using the android.jar rather than some Java SDK APIs. You will find that there are some classes or something in the code that do not exist in Android. You may be able to modify the source code to then fix the problems. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.4 Available! -- 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

