You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2015/04/01 19:35:53 UTC
[jira] [Resolved] (CB-8781) Cordova Android Gradle not linking *.so
library
[ https://issues.apache.org/jira/browse/CB-8781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Grieve resolved CB-8781.
-------------------------------
Resolution: Fixed
fixed in 4.0.0-dev
> 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