Karteek N wrote:
> In android manifest file there is a tag to include libraries called
> <uses-library>.

This is for SDK add-ons, like the Google Maps add-on.

> Suppose if i have some java files in the package hierarchy called
> com.my.lib
> i used the following tag in my manifest file
> <uses-library android:name="com.my.lib" />
> Now it is compiled successfully.
> But if i want to launch to emulator it is throwing the following error
> [2010-05-10 10:38:18 - MyMusicPlayer] Installing MyMusicPlayer.apk...
> [2010-05-10 10:38:20 - MyMusicPlayer] Installation error:
> INSTALL_FAILED_MISSING_SHARED_LIBRARY
> [2010-05-10 10:38:20 - MyMusicPlayer] Please check logcat output for
> more details.
> [2010-05-10 10:38:20 - MyMusicPlayer] Launch canceled!
> And application is not running on emulator.
> Any help please

Don't use <uses-library>. Put the JAR in your libs/ directory (and, in
the case of Eclipse users, add it to your build path).

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android 2.x Programming Books: http://commonsware.com/books

-- 
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

Reply via email to