After Google Play Services Update to Version 13, Facing Illegal Argument Exception
Various users have encountered an illegal argument exception after updating Google Play Services to version 13. The error message typically indicates that the AndroidManifest.xml file does not have the correct meta-data value for the Google Play Services version.
Resolving the Error
To resolve this error, follow these steps:
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
Additional Information
This error occurs because the Google Play Services library communicates with a specific package version. When the package version mismatches, it triggers the exception. By ensuring the correct version code and meta-data are present, you establish the expected communication channel between your app and Google Play Services.
The above is the detailed content of Why Am I Getting an Illegal Argument Exception After Updating Google Play Services to Version 13?. For more information, please follow other related articles on the PHP Chinese website!