[英]google_play_services_version not found
I'm trying to use google analytics, I'm sure i did what I was suppose to. 我正在尝试使用Google Analytics(分析),我确定我做了我应该做的事情。
<?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 此处消息发红http://i.imgur.com/dP76cxr.png
Go to Android SDK Manager (on "Window" option in eclipse), and make sure the google_play_services are installed: 转到Android SDK Manager(在Eclipse中的“窗口”选项上),并确保已安装google_play_services:
I think the <meta-data android:name="com.google.android.gms.version" .../>
element is optional. 我认为
<meta-data android:name="com.google.android.gms.version" .../>
元素是可选的。 You can remove it from your ApplicationManifest.xml and Analytics will function correctly. 您可以将其从ApplicationManifest.xml中删除,然后Analytics(分析)将正常运行。 You still need to add Google Play services to your app project.
您仍然需要将Google Play服务添加到您的应用项目中。
请先在Android Studio中执行Build-> Make Project,然后再运行App。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.