INSTALL_FAILED_MISSING_SHARED_LIBRARY - android proplem emulator

[2010-03-04 11:50:15 - AndroidSamples] Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY

when i use

<application android:icon="@drawable/icon" android:label="@string/app_name"> <uses-library android:name="com.google.android.maps" /> .. </application> 

please answer me

+4
source share
4 answers

Make sure you run the google api emulator.

+22
source

To launch the Google API emulator, open the Android SDK and AVD Manager> Available Packages> Google Repos> select the Google API levels that you want to check.

After installing them, add them as a virtual device and run.

+2
source

Make sure that your project in Eclipse (or your default.properties ) has a β€œGoogle API” in the name, which indicates that you are compiling it using the Google API add-on.

Also, make sure you set the correct <uses-library> element to the manifest:

 <application android:name="MyApplication"> <uses-library android:name="com.google.android.maps" /> ... </application> 

For more information about the Google API add-on and the use of maps, see this link:

+1
source

I had an apk that I had to install on AVD 4.3 but the installation failed due to INSTALL_FAILED_MISSING_SHARED_LIBRARY

All I had to do is Go to the Android sdk -> extras manager, and then install all the libraries present in this (e.g. Android support library, etc.)

then restart the emulator and the installation should be fine

0
source

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


All Articles