cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Pridham (JIRA)" <>
Subject [jira] [Created] (CB-8781) Cordova Android Gradle not linking *.so library
Date Wed, 01 Apr 2015 15:25:54 GMT
Marcus Pridham created CB-8781:

             Summary: Cordova Android Gradle not linking *.so library
                 Key: CB-8781
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
            Reporter: Marcus Pridham

I was playing around with the current gradle support and noticed that so libraries are not
being linked.  My plugin adds a so library under libs/armeabi-v7a.  This worked fine with
eclipse/ant but with gradle/android studio the library is not linked.

I managed to get it working by adding:
jniLibs.srcDirs = ['libs']

under android -> sourceSets -> main in the project build.gradle

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message