cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-8781) Cordova Android Gradle not linking *.so library
Date Wed, 01 Apr 2015 17:35:52 GMT

    [ https://issues.apache.org/jira/browse/CB-8781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14391045#comment-14391045
] 

ASF subversion and git services commented on CB-8781:
-----------------------------------------------------

Commit 51adf81918cc262cddb9e56d8b7a9c1d753d3ccc in cordova-android's branch refs/heads/master
from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=51adf81 ]

CB-8781 Add building of .so files within libs/ to gradle rules


> 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