Google Play服务7.5.0 AnalyticsService NPE onStartCommand

有没有人在他们的应用程序中加载Google Play 7.5.0时遇到这个崩溃? 我现在每天看到大约30次崩溃,没有任何办法重现。 没有特别的Android风格(4.4,5,5.1)或设备(三星,HTC等)是突出我。

java.lang.RuntimeException: Unable to start service com.google.android.gms.analytics.AnalyticsService@1153b3b0 with null: java.lang.NullPointerException at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2721) at android.app.ActivityThread.access$1900(ActivityThread.java:141) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1353) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5116) at java.lang.reflect.Method.invokeNative(Method.java) at java.lang.reflect.Method.invoke(Method.java:525) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600) at dalvik.system.NativeStart.main(NativeStart.java) Caused by: java.lang.NullPointerException at com.google.android.gms.analytics.AnalyticsService.onStartCommand() at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2704) at android.app.ActivityThread.access$1900(ActivityThread.java:141) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1353) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5116) at java.lang.reflect.Method.invokeNative(Method.java) at java.lang.reflect.Method.invoke(Method.java:525) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600) at dalvik.system.NativeStart.main(NativeStart.java) 

这个问题也发布在Google Analytics错误跟踪器上,但我不希望在一段时间内看到任何移动: https : //code.google.com/p/analytics-issues/issues/detail?id=667

这是我的Gradle文件中的内容:

 compile 'com.google.android.gms:play-services:7.5.0' 

而在我的AndroidManifest(我认为是从谷歌文档逐字):

  <receiver android:name="com.google.android.gms.analytics.AnalyticsReceiver" android:enabled="true" > <intent-filter> <action android:name="com.google.android.gms.analytics.ANALYTICS_DISPATCH" /> </intent-filter> </receiver> <service android:name="com.google.android.gms.analytics.AnalyticsService" android:enabled="true" android:exported="false" /> 

Solutions Collecting From Web of "Google Play服务7.5.0 AnalyticsService NPE onStartCommand"