How to add apache commons collections in Android Studio (Gradle) -


im trying use listutils when ran app got error:

 caused by: java.lang.classnotfoundexception: didn't find class "org.apache.commons.collections.listutils" on path: dexpathlist[[zip file "/data/app/com.meridianaspect.wiw-2/base.apk"],nativelibrarydirectories=[/vendor/lib, /system/lib]] 

so guess have import library via gradle somehow, dont know how that?

place jar file in libs folder in root of module. file -> project settings. in left side choose module want add lib, in right side choose tab dependencies. in bottom press plus sign , click file dependency. choose jar , sync project


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -