问题
I'm trying to use google analytics, I'm sure i did what I was suppose to.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.dose.apps.brainnoodles" >
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application
android:allowBackup="true"
android:icon="@drawable/official_launcher_icon1"
android:label="@string/app_name"
android:theme="@style/AppTheme"
>
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
here the redness of the messagehttp://i.imgur.com/dP76cxr.png
回答1:
Go to Android SDK Manager (on "Window" option in eclipse), and make sure the google_play_services are installed:

回答2:
I think the <meta-data android:name="com.google.android.gms.version" .../>
element is optional. You can remove it from your ApplicationManifest.xml and Analytics will function correctly. You still need to add Google Play services to your app project.
回答3:
Please do Build--> Make Project in your Android Studio first, then Run your App.
来源:https://stackoverflow.com/questions/29020856/google-play-services-version-not-found