GooglePlayServicesIncorrectManifestValueException

public final classGooglePlayServicesIncorrectManifestValueExceptionextendsGooglePlayServicesManifestException

Exception encountered when the Google Play services version in the client app's manifest was incorrect.

Google Play services client libraries and SDKs check ameta-datavalue in the client app's manifest to assert the app was built with resources needed by the client libraries.

If you encounter this exception at runtime it indicates that either:

  • Your app was not built with the correct resources. This could be an issue with your build tooling or configuration.
  • There was a race condition inPackageManager at the time your app connected to Google Play services.

Note that you should NOT define thismeta-datavalue manually. Instead you should rely on the build system to set this based on what is included in the Google Play services SDK.

Public Constructor Summary

GooglePlayServicesIncorrectManifestValueException(int actualVersion)
Creates aGooglePlayServicesIncorrectManifestValueException.

Inherited Method Summary

Public Constructors

publicGooglePlayServicesIncorrectManifestValueException (int actualVersion)

Creates aGooglePlayServicesIncorrectManifestValueException.