Try recompiling the libraries with Java 1.5, or with a Java 1.5 compilation target.
You may have other problems doing this as well. Android does not include all of the classes present in JavaSE. On Mar 4, 11:14 am, MikeK <[email protected]> wrote: > I have some well-debugged XML-RPC interfaces on a site that work > wonderfully from both PHP and from JAVA. Using Eclipse I am able to > write Java apps using either the Redstone or Apache XML-RPC libraries > quite simply. These test cases using the 2 libraries utilize > JavaSE-1.6 (jre6) libraries as well as one of the 2 xml-rpc libs > referenced above. No problems. > > My problem is making this work on Android. I have added ADT to my > Eclipse setup and easily executed the HelloWorld test using a virtual > 1.6 or 2.1 Android device - no problems. > > Whenever I go into the Build Path in Eclipse and add the external jars > for either the apache or redstone XML-RPC libs my console goes wacky > with a ton of the following: > > Ignoring InnerClasses attribute for an anonymous inner class that > doesn't come with an associated EnclosingMethod attribute. (This class > was probably produced by a broken compiler.) > > If I puch ahead and debug the code when it actually ships off the XML > request I get an exception out of the XML library on permissions of > some sort. > > Why does this only happen in an "Android" project. These libraries > seem to have no problem running in Non-Android standard java configs. > > Thanks in advance to anyone who can shed some light on this. Once we > proof the ability to talk to our server we can proceed down the road > of actually porting our app to Android. -- 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

