升级到SDK版本17,现在的库不正确链接
问题描述:
所以,我最近升级我的Android SDK,以及由于某种原因,它似乎已经打破Analytics(分析)。我碰到LogCat中,这似乎是关键下面的错误,但我很难想象他们会删除的getInstance,所以我在一个小的损失的。任何想法?
So, I recently upgraded my Android SDK, and for some reason it seems to have broken Analytics. I'm getting the following error from LogCat, which seems to be key, but I can hardly imagine that they would have removed getInstance, so I'm at a bit of a loss. Any ideas?
Could not find method com.google.android.apps.analytics.GoogleAnalyticsTracker.getInstance, referenced from method
03-22 06:30:44.341: W/dalvikvm(217): VFY: unable to resolve static method 117: Lcom/google/android/apps/analytics/GoogleAnalyticsTracker;.getInstance ()Lcom/google/android/apps/analytics/GoogleAnalyticsTracker;
03-22 06:30:44.341: W/dalvikvm(217): VFY: rejecting opcode 0x71 at 0x005a
我试过下面来解决这个问题:
I've tried the following to resolve it:
- 删除分析库,然后将它放回
- 执行干净,然后再重新构建的项目。
- 从我的机器完全删除分析库,然后再重新安装。
- 删除Eclipse插件,并重新安装。
这一切都不似乎工作。我想,这是怎么回事的是,库不被包括在ADK的一部分,但我不是很确定,所以......
None of this seems to work. I think what's happening is that the library isn't being included as a part of the ADK, but I'm not quite sure, so...