JNI libs are included twice in AAR

17 views
Skip to first unread message

Davis Walker

unread,
Aug 19, 2014, 3:04:55 AM8/19/14
to gradle-androi...@googlegroups.com
I'm using the jniLibs.srcDir directive to include some prebuilt JNI libraries in an AAR. My problem is when I add this, the libraries are included both directly, in libs/armeabi/foo.so, but also inside classes.jar. This balloons the size of the APK.

Has anyone else seen this? Any suggestions for how to tell the gradle plugin to do the right thing?

Thanks very much.

Dave
Reply all
Reply to author
Forward
0 new messages