Android: ADB updates Google Play Utilities,

Trying to follow this Google+ tutorial .


Run the application and I get this error

You need to update Google Play Services to use this application.

  • Clicking Update does nothing.
  • Ignoring this dialog and pressing Login causes the application to crash.

Using a terminal in Windows 8 to update Services Services on my emulator,

adb install com.android.vending-20140218.apk ........
Crash [INSTALL_FAILED_DUPLICATE_PERMISSION perm = com.google.android.gms.permission.ACTIVITY_RECOGNITION pkg = com.google.android.gms]

adb install com.google.android.gms-20140218.apk .......
Error [INSTALL_FAILED_DUPLICATE_PERMISSION perm = com.android.vending.CHECK_LICENSE pkg = com.android.vending]


I tried uninstalling both using adb uninstall and adb install -r , but it just answers

Renouncement


Emulator

  • Nexus 5 with Android 5.0
  • targetSdk Android 5.0
  • minSdk Android 5.0
  • build tool 19.1.0.
+6
source share
4 answers

I had the same problem: Error [INSTALL_FAILED_DUPLICATE_PERMISSION ...

disconnect the application from the device and reinstall the application.

+1
source

This problem occurs when you change the version of Android from your device.

Try uninstalling the application directly on the device and reinstalling it.

The normal problem is resolved.

+1
source

The problem is solved in this thread: INSTALL_FAILED_DUPLICATE_PERMISSION ... C2D_MESSAGE

The error is actually related to a duplicate application with the same resolution, but with a different signature. I wrote about work here .

+1
source

I experienced the same thing on a Nexus 7 with Android 5.0. Make sure Unknown Sources is enabled. That is, you can install applications from sources other than Google Play.

0
source

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


All Articles