gpt4 book ai didi

安卓 : Could not find method com. google.analytics.tracking.android.EasyTracker.getTracker

转载 作者:行者123 更新时间:2023-11-30 03:33:13 26 4
gpt4 key购买 nike

我有一个使用 Google Analytics 库的应用程序。我最近将代码移到了一个新的工作区,但该应用程序已停止工作。代码构建正常,但在运行时会因以下错误而停止。

06-12 23:11:14.117: I/dalvikvm(31080): Could not find method com.google.analytics.tracking.android.EasyTracker.getTracker, referenced from method com.apps4care.v2conf.utils.analytics.raiseEvent
06-12 23:11:14.117: W/dalvikvm(31080): VFY: unable to resolve static method 7179: Lcom/google/analytics/tracking/android/EasyTracker;.getTracker ()Lcom/google/analytics/tracking/android/Tracker;
06-12 23:11:14.117: D/dalvikvm(31080): VFY: replacing opcode 0x71 at 0x0021
06-12 23:11:14.117: I/dalvikvm(31080): Could not find method com.google.analytics.tracking.android.EasyTracker.getInstance, referenced from method com.apps4care.v2conf.utils.analytics.start
06-12 23:11:14.117: W/dalvikvm(31080): VFY: unable to resolve static method 7178: Lcom/google/analytics/tracking/android/EasyTracker;.getInstance ()Lcom/google/analytics/tracking/android/EasyTracker;
06-12 23:11:14.117: D/dalvikvm(31080): VFY: replacing opcode 0x71 at 0x0000
06-12 23:11:14.117: I/dalvikvm(31080): Could not find method com.google.analytics.tracking.android.EasyTracker.getInstance, referenced from method com.apps4care.v2conf.utils.analytics.stop
06-12 23:11:14.117: W/dalvikvm(31080): VFY: unable to resolve static method 7178: Lcom/google/analytics/tracking/android/EasyTracker;.getInstance ()Lcom/google/analytics/tracking/android/EasyTracker;

分析 JAR 位于我的“libs”文件夹中,我可以看到它列在属性中 Java 构建路径的“库”选项卡中。

关于如何解决这个问题的任何线索......

最佳答案

我假设您使用的是 Eclipse。

右键单击您的项目,选择“属性”。

在 Java Build Path 下,单击 Order & Export 选项卡。

勾选 Android Private Libraries 并点击 OK。

关于安卓 : Could not find method com. google.analytics.tracking.android.EasyTracker.getTracker,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17076446/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com