Are you sure that your jar file doesn't depend on another jar file? Xav
On Wed, Oct 28, 2009 at 9:32 PM, sundancebleu <[email protected]> wrote: > > Thanks for the reply. I actually tried that, but it still doesn't > work. I get the following error (not sure if this helps): > > 10-29 03:48:46.469: WARN/dalvikvm(721): Unable to resolve superclass > of Lcom/roger/framework/util/StringUtils; (480) > 10-29 03:48:46.469: WARN/dalvikvm(721): Link of class 'Lcom/roger/ > framework/util/StringUtils;' failed > 10-29 03:48:46.469: ERROR/dalvikvm(721): Could not find method > com.roger.framework.util.StringUtils.indexOfIgnoreCase, referenced > from method com.roger.location.AgentAddressHelper.parseResults > 10-29 03:48:46.469: WARN/dalvikvm(721): VFY: unable to resolve static > method 1868: Lcom/roger/framework/util/StringUtils;.indexOfIgnoreCase > (Ljava/lang/String;Ljava/lang/String;)I > > > I also seem to be getting a VerifyError > > Any ideas? Thanks, > > - Roger > > > On Oct 28, 12:17 pm, Xavier Ducrohet <[email protected]> wrote: >> uses-library is for shared library which you cannot add yourself. >> >> You should simply have to put the jar file in your project folder and, >> from Eclipse, do a right click on it from the Package Explorer and >> choose "Add to build path" >> >> Xav >> >> On Tue, Oct 27, 2009 at 5:15 PM, sundancebleu <[email protected]> wrote: >> >> > I'm hoping someone can help, when I try including a custom jar file I >> > built in another java project through eclipse (in my build path), I >> > get a "could not find method" error when I try to run. When I put a >> > "uses-library" in the manifest.xml, I get an >> > "INSTALL_FAILED_MISSING_SHARED_LIBRARY" error when the app tries to >> > install on the emulator. Do I need to build the library as part of my >> > AVD? if so, how do I do that? Thanks in advance. >> >> -- >> Xavier Ducrohet >> Android SDK Tech Lead >> Google Inc. >> >> Please do not send me questions directly. Thanks! > > > > -- Xavier Ducrohet Android SDK Tech Lead Google Inc. Please do not send me questions directly. Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

