Error in Flurry Analytic integration in android

天涯浪子 提交于 2019-12-29 01:45:06

问题


I am trying to integrate Flurry analytic in android app.

I have integrate successfully but it gives runtime error of "java.lang.NoClassDefFoundError: com.flurry.android.FlurryAgent" in my onStart method.

Any suggestion??


回答1:


In your Android project, create a directory named libs at the root of your project (next to src/, res/, etc.)

Locate the JAR file for the library you want to use and copy it into the libs/ directory.

Setting Up a Project to Use a Library:

More refer here:




回答2:


I had that same error…

What worked for me was: I already had a libs folder in the same hierarchy as my src & res folders. The FlurryAgent.jar file was saved on my Desktop. I simply right clicked on the FlurryAgent file, copied it. Then I pasted the file into the libs folder in Eclipse. Eclipse automatically copied the FlurryAgent.jar file into the “Android Dependencies” folder also.



来源:https://stackoverflow.com/questions/10848432/error-in-flurry-analytic-integration-in-android

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!