乱扔“ GOOGLE PLAY SERVICES ERROR”

时间:2019-07-18 07:16:49

标签: google-play-services flurry flurry-analytics

我正在尝试将Flurry分析集成到我的Android应用中,并且遇到了某些问题。每次我的应用启动时,我都会在logcat中看到这些错误:

E/FlurryAgent: GOOGLE PLAY SERVICES ERROR: java.util.concurrent.TimeoutException: Timed out waiting for the service connection
E/FlurryAgent: There is a problem with the Google Play Services library, which is required for Android Advertising ID support. The Google Play Services library should be integrated in any app shipping in the Play Store that uses analytics or advertising.

我的应用尚未在Google Play商店中发布,这可能是导致这些错误的原因吗?

顺便说一句,Google建议不要包含整个Google Play服务库:“不要使用组合的Play服务目标。它会引入许多库,使您的应用程序膨胀。相反,请仅指定特定的Google Play服务API您的应用使用。”

这就是为什么我只包含Flurry documentation中提到的Google Analytics(分析)(com.google.android.gms:play-services-analytics:17.0.0)的原因。尝试过还包括Google Base客户端库(com.google.android.gms:play-services-base:17.0.0),但我仍然遇到这些错误。

有什么想法吗?

0 个答案:

没有答案