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

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -