You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Marcus Pridham (JIRA)" <ji...@apache.org> on 2015/04/01 17:25:54 UTC

[jira] [Created] (CB-8781) Cordova Android Gradle not linking *.so library

Marcus Pridham created CB-8781:
----------------------------------

             Summary: Cordova Android Gradle not linking *.so library
                 Key: CB-8781
                 URL: https://issues.apache.org/jira/browse/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:
{code}
jniLibs.srcDirs = ['libs']
{code}

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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org