Installing Google Maps Framework on AOSP Android
One of the differences between Android and AOSP (Android Open Source Project) is that some applications are not installed. Google Play and Maps, for example, are not included by default in AOSP. Often times, corporate IT departments do not want Play installed on the device so that only approved applications are installed. But, the lack of some programs and libraries do present problems. One such problem relates to applications that use the Google Maps API framework.
Such applications require the Google Maps API in order to install and run. When attempting to install one of these apps using 'adb' you will receive a "[INSTALL_FAILED_MISSING_SHARED_LIBRARY]" error. To resolve this error on a device using SDG's implementation of Android (AOSP), you will need to install the Google Maps framework. Download an Android 2.3 (or other version) "gapps" bundle (http://goo.im/gapps/gapps-gb-20110828-signed.zip), then use the following commands to copy the relevant files to the device:
adb root adb remount adb push system/etc/permissions/com.google.android.maps.xml /system/etc/permissions adb push system/framework/com.google.android.maps.jar /system/framework adb reboot
Once the device reboots you should be able to install any apk that requires the Google Maps API.