1

good morning

i would like to delete the google play services package from my android emulator because i tried to update it by a new version.

When i taped this command in my terminal: ./adb install com.google.android.gms.apk I receive this message :"install failed already exist " I tried to unistall this package by this command: ./adb -e uninstall com.google.android.gms

It show me "failure". My version is 3.1.36 and i would like to install 4 version to run my android map app regards.....

Walid Sassi
  • 75
  • 1
  • 2
  • 11

2 Answers2

1

Try adb install -r com.google.android.gms.apk

Swayam
  • 16,294
  • 14
  • 64
  • 102
  • 2
    think you not worked for me i revive this message :INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES – Walid Sassi Jan 28 '14 at 10:07
  • Ah, okay. There is a certificate mismatch between the one installed and the one you are trying to install. – Swayam Jan 28 '14 at 10:12
  • If you don't have a device and want to test on the emulator only, why don't you use an AVD with 4.2.2 or higher. – Swayam Jan 28 '14 at 10:14
  • i tested in 4.2.2 n my api is 17 the version of the google play services lib in my project is 4132530 – Walid Sassi Jan 28 '14 at 10:18
  • usually the same problem and in logcat i received this message google play services out of date requires 4132530 and found 3136130 – Walid Sassi Jan 28 '14 at 10:28
1

AFAIK You will not be able to uninstall play services as its only can be uninstalled by the administrator level. You can not uninstall it on your own as it requires root level access..

GrIsHu
  • 29,068
  • 10
  • 64
  • 102