0

I tried to install an app using com.google.android.maps library on Moto XT681 Phone. Eclipse failed, reporting :

    Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY

By examining the Logcat, it states as following

Package com.xxxx.xxxx requires unavailable shared library com.google.android.maps; failing!

I tried to push the maps.jar file into the phone using ddms. However, it said: transfer eror: Permission denied. I guess it is because the ddms didn't connect the phone as root. I also tried using adb command, however, there was something wierd, when I tried the command adb devices, it always reboot the adb server, and could not get the device in the list?

So anyone can suggest a way out?

Kazekage Gaara
  • 14,972
  • 14
  • 61
  • 108
user717245
  • 11
  • 7
  • 1
    @KazekageGaara look at the answers here: http://meta.stackexchange.com/a/134070/186983 – Matsemann Jun 02 '12 at 12:21
  • 1
    @Matsemann I doubt if this is the case for the OP. Look at his questions, they have been answered by experts and seemed to have solved his purpose on occasions. It's the indifferent attitude that needs to be corrected at times. – Kazekage Gaara Jun 02 '12 at 12:25
  • Anyway, thanks Kazekage for his suggestion, I think I know your point. Maybe, I hope to get perfect answer. However, I do get some valuable info from their answers, I will give credit for that! – user717245 Jun 02 '12 at 15:35

1 Answers1

1

Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY

The ROM you have installed on that device -- whether from the manufacturer or a ROM mod that you put on it -- lacks the Google Maps add-on for Android.

I tried to push the maps.jar file into the phone using ddms. However, it said: transfer eror: Permission denied. I guess it is because the ddms didn't connect the phone as root. I also tried using adb command, however, there was something wierd, when I tried the command adb devices, it always reboot the adb server, and could not get the device in the list?

The Google Maps add-on for Android comes with the firmware (a.k.a., device ROM). If your device lacks this add-on, buy a device that has it.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491