@ Benoit's answer has an exact solution, which I answer with additional knowledge:
1. , since Benoit's answer added the following AndroidManifest.xml internal application tag
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
2. we can directly add the version code, for example
<meta-data android:name="com.google.android.gms.version" android:value="4030500" />
4030500 is the version code that is stored internally
Google-services-services_lib> Res> Values> version.xml
how
<integer name="google_play_services_version">4030500</integer>
Conclusion: the latest google play services require a version name, which must be specified using <meta-data .. /> inside AndroidManifest.xml
Note: I would highly recommend using the 1st method.
Tarsem Singh Nov 06 '13 at 13:53
source share