GooglePlayServicesMissingManifestValueException

public final class GooglePlayServicesMissingManifestValueException extends GooglePlayServicesManifestException


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

Google Play services client libraries and SDKs check a meta-data value 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 in android.content.pm.PackageManager at the time your app connected to Google Play services.

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

Summary

Public constructors

Creates a GooglePlayServicesMissingManifestValueException.

Inherited methods

From com.google.android.gms.common.GooglePlayServicesManifestException
int

Returns the actual version the client library found in the package's manifest.

int

Returns the version the client library expected to find in the package's manifest.

From java.lang.Throwable
synchronized final void
synchronized Throwable
synchronized Throwable
String
String
StackTraceElement[]
synchronized final Throwable[]
synchronized Throwable
void
void
setStackTrace(StackTraceElement[] p)
String

Public constructors

GooglePlayServicesMissingManifestValueException

public GooglePlayServicesMissingManifestValueException()

Creates a GooglePlayServicesMissingManifestValueException.