4
我正在嘗試將Flurry Analytics
整合到我創建的一個簡單應用程序中。我已經正確下載並將SDK
添加到我的應用程序中。然而,當我運行應用程序沒有數據被髮送到Flurry dashboard
儘管logcat的消息確認它,如:Flurry Analytics for Android:數據沒有發送到Flurry儀表板?
10-20 06:56:51.756: W/FlurryAgent(1355): FlurryDataSender: report 7ab955c2-f035-4c54-b606-a68a8edb76c6 sent. HTTP response: 200
10-20 06:57:08.356: W/FlurryAgent(1355): End session with context: [email protected] count:0
10-20 06:57:18.726: W/FlurryAgent(1355): Finalize session
10-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.v
10-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 0x0042
10-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.o
10-20 06:56:48.946: W/dalvikvm(1355): VFY: unable to resolve virtual method 10065: Lcom/google/android/gms/ads/identifier/AdvertisingIdClient$Info;.isLimitAdTrackingEnabled()Z
10-20 06:56:48.946: D/dalvikvm(1355): VFY: replacing opcode 0x6e at 0x0006
10-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.b
10-20 06:56:48.986: W/FlurryAgent(1355): Start session with context: [email protected] count:0
10-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;)I
10-20 06:56:48.996: D/dalvikvm(1355): VFY: replacing opcode 0x71 at 0x0009
10-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.c
10-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 0x000a
10-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 0x29
10-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 0x0029
10-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/dw
10-20 06:56:49.036: W/System.err(1355): at com.flurry.sdk.dj$1.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 32ms
10-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 31ms
10-20 06:56:51.756: W/FlurryAgent(1355): FlurryDataSender: report 7ab955c2-f035-4c54-b606-a68a8edb76c6 sent. HTTP response: 200
10-20 06:57:08.356: W/FlurryAgent(1355): End session with context: [email protected] count:0
10-20 06:57:18.726: W/FlurryAgent(1355): Finalize session
10-20 06:57:21.076: W/FlurryAgent(1355): FlurryDataSender: report dbf1e31f-f136-4c10-ba97-dc5760dfbbd8 sent. HTTP response: 200
是否成功發送信息f從應用程序到Flurry?
包括完整的谷歌Play服務的寶貴64K方法的浪費,所以我重新包裝罐子不包括地圖,廣告等無用對我來說sdks。什麼是flurry實際使用?它看起來像很快我重新包裝GP罐子亂舞停止工作。 – Tertium 2015-07-22 23:35:32
@Tertium你是否設法解決了這個問題,我從完整的軟件包中排除了一些項目? Flurry實際使用什麼? – 2015-07-30 09:20:46
他們迴應說,如果你不使用他們的廣告,他們實際上不會使用任何東西。但它看起來像flurry只能在發佈二進制文件而不是eclipse中發揮作用,並且它只在下一個會話開始時才從會話發送數據 – Tertium 2015-07-31 11:29:55