On Fri, Jun 26, 2009 at 11:32 AM, Max<[email protected]> wrote: > > I'm trying to use an external library packaged in one JAR file > (openRDF Sesame 2.2.4 [1]). As suggested in this group, I first added > the JAR to a new folder in my project, then added it to the Java build > path via the project properties in Eclipse. Now I could already use > the classes from the library in my source code without getting any > errors. I also added the line <uses-library > android:name="org.openrdf" /> to the manifest file inside > <application>.
You don't need to do that. <uses-library> is used to indicate your app depends on an optional library that is built-in on the device, e.g. maps. In your case, simply add the Jar as a dependency to your Eclipse project and ADT will automatically embed it in the generated APK. R/ > > The problem is that as soon as I try to run the app, I get an > installation error (INSTALL_FAILED_MISSING_SHARED_LIBRARY) on the > console and I'm told (via logcat) that my package "requires > unavailable shared library org.openrdf". > > Where's my mistake? > > Thanks, > Max > > [1] > http://ovh.dl.sourceforge.net/sourceforge/sesame/openrdf-sesame-2.2.4-onejar.jar > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

