Android Maps: Installation Error: INSTALL_FAILED_MISSING_SHARED_LIBRARY

I am trying to use Android Maps following the instructions in Hello MapView .

I have added <uses-library android:name="com.google.android.maps" /> to the manifest, and I am against the goal of the Google API claiming to be version 7 API.

Therefore, I do not think that I am doing something clearly wrong, but the project refuses to build with this error:

 [2010-12-22 13:34:32 - FMS]Installing FMS.apk... [2010-12-22 13:35:01 - FMS]Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY [2010-12-22 13:35:01 - FMS]Please check logcat output for more details. [2010-12-22 13:35:01 - FMS]Launch canceled! 

logcat tells me the following (not very useful):

 D/PackageParser( 55): Scanning package: /data/app/vmdl67147.tmp I/PackageParser( 55): com.android.fms: compat added android.permission.WRITE_EXTERNAL_STORAGE android.permission.READ_PHONE_STATE E/PackageManager( 55): Package com.android.fms requires unavailable shared library com.google.android.maps; failing! W/PackageManager( 55): Package couldn't be installed in /data/app/com.android.fms.apk D/AndroidRuntime( 206): Shutting down VM 

Perhaps I did not configure the Maps API key correctly - when I received it using keytools , I did not specify alias_name , although this does not seem to cause an error.

Can anyone help?

+6
android google-maps
source share
2 answers

This error occurs because Google Maps is not installed on your device / emulator.

Find another device (or install Google Maps on your device) or create an AVD for the emulator using Google Maps.

+20
source share

Make sure your project is configured to target API level 3 (android creation project -t 3 ...), and that the AVD with which you are testing is also configured for API level 3 (or you are testing on the actual device with Google Maps on it )

+1
source share

All Articles