Skip to content Skip to sidebar Skip to footer

Android Runtime Error "java.lang.noclassdeffounderror: Org.apache.commons.collections.collectionutils "

I am trying to use org.apache.commons.collections.CollectionUtils in Android. The sample is below import java.util.ArrayList; import org.apache.commons.collections.CollectionUtil

Solution 1:

You have to put the library in /libs (not /lib) folder of your android project

Edit: I was assuming that you put it in /lib folder because this is a common failure. In your added screenshot can be seen that you included the lib as external jar. Anyway..whether you put it in /lib or as external jar the solution is the same: create /libs folder and put the lib there

Post a Comment for "Android Runtime Error "java.lang.noclassdeffounderror: Org.apache.commons.collections.collectionutils ""