{"action":"created","issue":{"url":"https://api.github.com/repos/simpligility/android-maven-plugin/issues/580","labels_url":"https://api.github.com/repos/simpligility/android-maven-plugin/issues/580/labels{/name}","comments_url":"https://api.github.com/repos/simpligility/android-maven-plugin/issues/580/comments","events_url":"https://api.github.com/repos/simpligility/android-maven-plugin/issues/580/events","html_url":"https://github.com/simpligility/android-maven-plugin/issues/580","id":56357859,"number":580,"title":"Copy local native libraries","user":{"login":"himamis","id":8132942,"avatar_url":"https://avatars.githubusercontent.com/u/8132942?v=3","gravatar_id":"","url":"https://api.github.com/users/himamis","html_url":"https://github.com/himamis","followers_url":"https://api.github.com/users/himamis/followers","following_url":"https://api.github.com/users/himamis/following{/other_user}","gists_url":"https://api.github.com/users/himamis/gists{/gist_id}","starred_url":"https://api.github.com/users/himamis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/himamis/subscriptions","organizations_url":"https://api.github.com/users/himamis/orgs","repos_url":"https://api.github.com/users/himamis/repos","events_url":"https://api.github.com/users/himamis/events{/privacy}","received_events_url":"https://api.github.com/users/himamis/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-03T10:14:14Z","updated_at":"2015-02-23T10:26:56Z","closed_at":"2015-02-23T10:26:56Z","body":"When compiling gmp compilation results in a library called libgmp.so.10. But this library is not attached to the final apk because only.so files are\r\nApkMojo.java\r\n```java\r\ntry {\r\n            IOFileFilter libSuffixFilter = FileFilterUtils.suffixFileFilter( \".so\" );\r\n\r\n            IOFileFilter gdbserverNameFilter = FileFilterUtils.nameFileFilter( \"gdbserver\" );\r\n            IOFileFilter orFilter = FileFilterUtils.or( libSuffixFilter, gdbserverNameFilter );\r\n\r\n            IOFileFilter libFiles = FileFilterUtils.and( FileFileFilter.FILE, orFilter );\r\n            FileFilter filter = FileFilterUtils.or( DirectoryFileFilter.DIRECTORY, libFiles );\r\n            org.apache.commons.io.FileUtils\r\n                    .copyDirectory( localNativeLibrariesDirectory, destinationDirectory, filter );\r\n}\r\n```\r\n\r\nSuggestion: attach files which contain the string \".so\"."},"comment":{"url":"https://api.github.com/repos/simpligility/android-maven-plugin/issues/comments/75519028","html_url":"https://github.com/simpligility/android-maven-plugin/issues/580#issuecomment-75519028","issue_url":"https://api.github.com/repos/simpligility/android-maven-plugin/issues/580","id":75519028,"user":{"login":"himamis","id":8132942,"avatar_url":"https://avatars.githubusercontent.com/u/8132942?v=3","gravatar_id":"","url":"https://api.github.com/users/himamis","html_url":"https://github.com/himamis","followers_url":"https://api.github.com/users/himamis/followers","following_url":"https://api.github.com/users/himamis/following{/other_user}","gists_url":"https://api.github.com/users/himamis/gists{/gist_id}","starred_url":"https://api.github.com/users/himamis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/himamis/subscriptions","organizations_url":"https://api.github.com/users/himamis/orgs","repos_url":"https://api.github.com/users/himamis/repos","events_url":"https://api.github.com/users/himamis/events{/privacy}","received_events_url":"https://api.github.com/users/himamis/received_events","type":"User","site_admin":false},"created_at":"2015-02-23T10:26:56Z","updated_at":"2015-02-23T10:26:56Z","body":"I've managed to compile a .so file. Default installation of libgmp ends up with a .so.10, and a simple .so link in usr/lib folder."}}