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
Go to Android SDK Manager (on "Window" option in eclipse), and make sure the google_play_services are installed:
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.
请先在Android Studio中执行Build-> Make Project,然后再运行App。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.