Flurry的分析崩溃时"润QUOT;在Android模拟器,但不是在"调试好的"在模拟器 [英] Flurry Analytics crashing when "Run" in Android emulator but not when "Debugged" in emulator
问题描述
按标题,我有一个应用程序,它利用了乱舞Analytics(分析)为Android 库。我跟着他们的基本步骤分析集成到我的应用程序。如果我的调试的我在Android模拟器的应用程序,一切工作正常。如果我的运行的我在另一方面Android模拟器的应用程序,乱舞似乎崩溃了。下面是logcat的输出:
As per the title, I have an application which makes use of the Flurry Analytics library for Android. I've followed their basic steps to integrate analytics into my app. If I Debug my app in the Android emulator, everything works fine. If I Run my app in the Android emulator on the other hand, Flurry seems to crash it. Here is the output from logcat:
10-19 16:03:14.004: E/AndroidRuntime(385): FATAL EXCEPTION: FlurryAgent
10-19 16:03:14.004: E/AndroidRuntime(385): java.lang.NullPointerException
10-19 16:03:14.004: E/AndroidRuntime(385): at com.flurry.android.FlurryAgent.b(SourceFile:2188)
10-19 16:03:14.004: E/AndroidRuntime(385): at com.flurry.android.FlurryAgent.a(SourceFile:68)
10-19 16:03:14.004: E/AndroidRuntime(385): at com.flurry.android.e.run(SourceFile:1420)
10-19 16:03:14.004: E/AndroidRuntime(385): at android.os.Handler.handleCallback(Handler.java:587)
10-19 16:03:14.004: E/AndroidRuntime(385): at android.os.Handler.dispatchMessage(Handler.java:92)
10-19 16:03:14.004: E/AndroidRuntime(385): at android.os.Looper.loop(Looper.java:123)
10-19 16:03:14.004: E/AndroidRuntime(385): at android.os.HandlerThread.run(HandlerThread.java:60)
奇怪的是,这个问题似乎只当我在Android 2.2(升级Froyo)虚拟设备上运行,而如果我在Android 4.1的虚拟设备上运行它,它是精细发生。不幸的是我没有一个真正的Android 2.2的设备立即获得测试上。
Curiously, this problem only seems to occur when I run in an Android 2.2 (Froyo) Virtual Device, whereas if I run it in an Android 4.1 Virtual Device, it is fine. Unfortunately I don't have immediate access to a real Android 2.2 device to test on.
任何人都可以提出什么可能会错了?
Can anyone suggest what might be going wrong?
推荐答案
这是关于乱舞类似的问题SDK 后,与版本的 3.0.4 ;结果
上同时启动仿真器和Android版本和LT实际设备乱舞库崩溃; 2.3 (我查了它真实的设备2.2和2.1,2.2 - 模拟器)。
It was a similar problem on Flurry SDK, with version 3.0.4;
Flurry library crashes on start both emulators and real devices with android version < 2.3 (I checked it on real device 2.2, and 2.1, 2.2 - emulators).
修正了发布的 3.0.5 ,请看changelog:
Fixed on release 3.0.5, see changelog:
版本3.0.5- 2012年10月26日结果
●
添加修复程序prevent在AndroidSDK 2.2坏手机ID的崩溃
Version 3.0.5- 10/26/2012
● added fix to prevent crashing of bad phone ids in AndroidSDK 2.2
这篇关于Flurry的分析崩溃时&QUOT;润QUOT;在Android模拟器,但不是在&QUOT;调试好的&QUOT;在模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!