Piyush
Piyush

Reputation: 2609

Error in Flurry Analytic integration in android

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??

Upvotes: 3

Views: 3181

Answers (2)

Gene
Gene

Reputation: 11267

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.

Upvotes: -1

Padma Kumar
Padma Kumar

Reputation: 20041

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:

Upvotes: 6

Related Questions