问题
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