Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unavailable Shared Library - INSTALL_FAILED_MISSING_SHARED_LIBRARY

I am taking over a project, and am trying to launch it in the Android Emulator. I get the following error in Logcat:

11-11 06:21:42.215: ERROR/PackageManager(58): Package com.android.xxx requires unavailable shared library com.google.android.maps; failing!

Console displays:

Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY

How can I make sure com.google.android.maps is included in my project?

UPDATE: I am using a min sdk level of 3 in my androidmanifest.xml:

</application>
    <uses-sdk android:minSdkVersion="3"/>
like image 509
Sheehan Alam Avatar asked Jul 08 '26 03:07

Sheehan Alam


1 Answers

When you crate your emulated device, make sure you choose "Google APIs..." as the target. If you choose just "Android..." you won't have advanced APIs such as Maps available on the emulated device.

like image 130
kichik Avatar answered Jul 10 '26 21:07

kichik



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!