mgsx-dev / gdx-pd

Pure Data extension for LibGDX
Apache License 2.0
27 stars 5 forks source link

Native jar format not compatible #2

Closed mgsx-dev closed 7 years ago

mgsx-dev commented 7 years ago

Native jar format is not compatible with libGDX generated gradle build scripts.

current workaround is to change android build a bit as follow :

task copyAndroidNatives() {      
       ...
        if(outputDir == null) outputDir = file("libs") // <-- here :output to lib directory
        if(outputDir != null) {
            copy {
                from zipTree(jar)
                into outputDir
                include "**/*.so" // <-- here : include sub-directories
            }
        }
    }
}

it's required to separate natives jars by architecture for android (like all gdx android native jars)

mgsx-dev commented 7 years ago

fixed