10-20 06:56:51.756: W/FlurryAgent(1355): FlurryDataSender: report 7ab955c2-f035-4c54-b606-a68a8edb76c6 sent. http response: 20010-20 06:57:08.356: W/FlurryAgent(1355): End session with context: com.example.testflurry.MainActivity@b3d14db8 count:010-20 06:57:18.726: W/FlurryAgent(1355): Finalize session10-20 06:57:21.076: W/FlurryAgent(1355): FlurryDataSender: report dbf1e31f-f136-4c10-ba97-dc5760dfbbd8 sent. http response: 200
AndroID活动代码:
package com.example.testflurry;import com.flurry.androID.FlurryAgent;import androID.support.v7.app.ActionBaractivity;import androID.os.Bundle;import androID.vIEw.Menu;import androID.vIEw.MenuItem;public class MainActivity extends ActionBaractivity { @OverrIDe protected voID onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentVIEw(R.layout.activity_main); } @OverrIDe protected voID onStart() { super.onStart(); FlurryAgent.onStartSession(this,"xxxx"); } @OverrIDe protected voID onStop() { super.onStop(); FlurryAgent.onEndSession(this); }}
完整的Logcat输出:
10-20 06:56:48.746: I/dalvikvm(1355): Could not find method com.Google.androID.gms.ads.IDentifIEr.AdvertisingIDClIEnt$Info.getID,referenced from method com.flurry.sdk.dj.v10-20 06:56:48.746: W/dalvikvm(1355): VFY: unable to resolve virtual method 10064: Lcom/Google/androID/gms/ads/IDentifIEr/AdvertisingIDClIEnt$Info;.getID ()Ljava/lang/String;10-20 06:56:48.896: D/dalvikvm(1355): VFY: replacing opcode 0x6e at 0x004210-20 06:56:48.946: I/dalvikvm(1355): Could not find method com.Google.androID.gms.ads.IDentifIEr.AdvertisingIDClIEnt$Info.islimitAdTrackingEnabled,referenced from method com.flurry.sdk.dj.o10-20 06:56:48.946: W/dalvikvm(1355): VFY: unable to resolve virtual method 10065: Lcom/Google/androID/gms/ads/IDentifIEr/AdvertisingIDClIEnt$Info;.islimitAdTrackingEnabled ()Z10-20 06:56:48.946: D/dalvikvm(1355): VFY: replacing opcode 0x6e at 0x000610-20 06:56:48.966: I/dalvikvm(1355): Could not find method com.Google.androID.gms.common.GooglePlayServicesUtil.isGooglePlayServicesAvailable,referenced from method com.flurry.sdk.DW.b10-20 06:56:48.986: W/FlurryAgent(1355): Start session with context: com.example.testflurry.MainActivity@b3d14db8 count:010-20 06:56:48.996: W/dalvikvm(1355): VFY: unable to resolve static method 10067: Lcom/Google/androID/gms/common/GooglePlayServicesUtil;.isGooglePlayServicesAvailable (LandroID/content/Context;)I10-20 06:56:48.996: D/dalvikvm(1355): VFY: replacing opcode 0x71 at 0x000910-20 06:56:49.006: I/dalvikvm(1355): Could not find method com.Google.androID.gms.ads.IDentifIEr.AdvertisingIDClIEnt.getAdvertisingIDInfo,referenced from method com.flurry.sdk.DW.c10-20 06:56:49.006: W/dalvikvm(1355): VFY: unable to resolve static method 10066: Lcom/Google/androID/gms/ads/IDentifIEr/AdvertisingIDClIEnt;.getAdvertisingIDInfo (LandroID/content/Context;)Lcom/Google/androID/gms/ads/IDentifIEr/AdvertisingIDClIEnt$Info;10-20 06:56:49.006: D/dalvikvm(1355): VFY: replacing opcode 0x71 at 0x000a10-20 06:56:49.026: W/dalvikvm(1355): VFY: unable to resolve exception class 1277 (Lcom/Google/androID/gms/common/GooglePlayServicesNotAvailableException;)10-20 06:56:49.026: W/dalvikvm(1355): VFY: unable to find exception handler at addr 0x2910-20 06:56:49.026: W/dalvikvm(1355): VFY: rejected Lcom/flurry/sdk/DW;.c ()Lcom/Google/androID/gms/ads/IDentifIEr/AdvertisingIDClIEnt$Info;10-20 06:56:49.026: W/dalvikvm(1355): VFY: rejecting opcode 0x0d at 0x002910-20 06:56:49.026: W/dalvikvm(1355): VFY: rejected Lcom/flurry/sdk/DW;.c ()Lcom/Google/androID/gms/ads/IDentifIEr/AdvertisingIDClIEnt$Info;10-20 06:56:49.026: W/dalvikvm(1355): VerifIEr rejected class Lcom/flurry/sdk/DW;10-20 06:56:49.026: W/System.err(1355): java.lang.VerifyError: com/flurry/sdk/DW10-20 06:56:49.036: W/System.err(1355): at com.flurry.sdk.dj.a(Sourcefile:247)10-20 06:56:49.036: W/System.err(1355): at com.flurry.sdk.fc.run(Sourcefile:49)10-20 06:56:49.036: W/System.err(1355): at androID.os.Handler.handleCallback(Handler.java:733)10-20 06:56:49.036: W/System.err(1355): at androID.os.Handler.dispatchMessage(Handler.java:95)10-20 06:56:49.036: W/System.err(1355): at androID.os.Looper.loop(Looper.java:136)10-20 06:56:49.046: W/System.err(1355): at androID.os.HandlerThread.run(HandlerThread.java:61)10-20 06:56:49.436: D/dalvikvm(1355): GC_FOR_ALLOC freed 299K,11% free 2957K/3312K,paused 30ms,total 32ms10-20 06:56:49.486: D/gralloc_goldfish(1355): Emulator without GPU emulation detected.10-20 06:56:51.386: D/dalvikvm(1355): GC_FOR_ALLOC freed 410K,14% free 3051K/3520K,paused 31ms,total 31ms10-20 06:56:51.756: W/FlurryAgent(1355): FlurryDataSender: report 7ab955c2-f035-4c54-b606-a68a8edb76c6 sent. http response: 20010-20 06:57:08.356: W/FlurryAgent(1355): End session with context: com.example.testflurry.MainActivity@b3d14db8 count:010-20 06:57:18.726: W/FlurryAgent(1355): Finalize session10-20 06:57:21.076: W/FlurryAgent(1355): FlurryDataSender: report dbf1e31f-f136-4c10-ba97-dc5760dfbbd8 sent. http response: 200
信息是否从应用程序成功发送到Flurry?
解决方法 您需要在项目中添加 Google Play Services.您还需要在应用程序标记内将其添加到应用程序的清单中:<Meta-data androID:name="com.Google.androID.gms.version" androID:value="@integer/Google_play_services_version" />总结
以上是内存溢出为你收集整理的Flurry Analytics for Android:数据未发送到Flurry仪表板?全部内容,希望文章能够帮你解决Flurry Analytics for Android:数据未发送到Flurry仪表板?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)