cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Pridham (JIRA)" <j...@apache.org>
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
                 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


Mime
View raw message