Android 如何解决SecurityException:Parcel.readException来自谷歌分析代码

Android 如何解决SecurityException:Parcel.readException来自谷歌分析代码,android,google-analytics,Android,Google Analytics,我有很多关于这个错误的报告。我试过几种解决办法,但到目前为止,什么也解决不了。我想知道发生了什么事。有人知道这件事吗?我正在使用GA的v3 java.lang.SecurityException: Unable to find app for caller android.app.ApplicationThreadProxy@4229d028 (pid=12708) when registering receiver android.content.IIntentReceiver$Stub$Pr

我有很多关于这个错误的报告。我试过几种解决办法,但到目前为止,什么也解决不了。我想知道发生了什么事。有人知道这件事吗?我正在使用GA的v3

java.lang.SecurityException: Unable to find app for caller android.app.ApplicationThreadProxy@4229d028 (pid=12708) when registering receiver android.content.IIntentReceiver$Stub$Proxy@42132728
    at android.os.Parcel.readException(Parcel.java:1472)
    at android.os.Parcel.readException(Parcel.java:1426)
    at android.app.ActivityManagerProxy.registerReceiver(ActivityManagerNative.java:2563)
    at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1677)
    at android.app.ContextImpl.registerReceiver(ContextImpl.java:1645)
    at android.app.ContextImpl.registerReceiver(ContextImpl.java:1639)
    at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:486)
    at com.google.analytics.tracking.android.GANetworkReceiver.register(SourceFile:52)
    at com.google.analytics.tracking.android.GAServiceManager.initializeNetworkReceiver(SourceFile:101)
    at com.google.analytics.tracking.android.GAServiceManager.getStore(SourceFile:184)
    at com.google.analytics.tracking.android.GAServiceProxy.useStore(SourceFile:315)
    at com.google.analytics.tracking.android.GAServiceProxy.connectToService(SourceFile:333)
    at com.google.analytics.tracking.android.GAServiceProxy.access$600(SourceFile:28)
    at com.google.analytics.tracking.android.GAServiceProxy$ReconnectTask.run(SourceFile:415)
    at java.util.Timer$TimerImpl.run(Timer.java:284)
另一个跟踪:

java.lang.SecurityException: Unable to find app for caller android.app.ApplicationThreadProxy@42ac1ee8 (pid=21543) when registering receiver android.content.IIntentReceiver$Stub$Proxy@42abb9d0
    at android.os.Parcel.readException(Parcel.java:1465)
    at android.os.Parcel.readException(Parcel.java:1419)
    at android.app.ActivityManagerProxy.registerReceiver(ActivityManagerNative.java:2363)
    at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1571)
    at android.app.ContextImpl.registerReceiver(ContextImpl.java:1539)
    at android.app.ContextImpl.registerReceiver(ContextImpl.java:1533)
    at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:467)
    at com.google.analytics.tracking.android.GANetworkReceiver.register(SourceFile:52)
    at com.google.analytics.tracking.android.GAServiceManager.initializeNetworkReceiver(SourceFile:101)
    at com.google.analytics.tracking.android.GAServiceManager.getStore(SourceFile:184)
    at com.google.analytics.tracking.android.GAServiceProxy.useStore(SourceFile:315)
    at com.google.analytics.tracking.android.GAServiceProxy.connectToService(SourceFile:333)
    at com.google.analytics.tracking.android.GAServiceProxy.access$600(SourceFile:28)
    at com.google.analytics.tracking.android.GAServiceProxy$ReconnectTask.run(SourceFile:415)
    at java.util.Timer$TimerImpl.run(Timer.java:284)

你找到解决方案了吗?我改变了GA初始化的方式。该应用程序以前有2个活动,GA在第一个活动中初始化。我放弃了第一个活动,现在我再也没有收到这样的报告了。你有解决方案吗?我改变了GA初始化的方式。该应用程序以前有2个活动,GA在第一个活动中初始化。我放弃了第一个活动,现在我再也没有收到这样的报告了。