Inaccessible shared library - INSTALL_FAILED_MISSING_SHARED_LIBRARY

I take on the project and try to run it in an 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 min sdk level of 3 in my androidmanifest.xml:

</application>
    <uses-sdk android:minSdkVersion="3"/>
+3
source share
1 answer

When you create your emulated device, make sure you select β€œGoogle API ...” as the target. If you select only "Android ...", you will not have advanced APIs, such as Maps, available on the emulated device.

+4

Source: https://habr.com/ru/post/1774303/


All Articles