Skip to content Skip to sidebar Skip to footer

Could Not Extract Native JNI Library

I'm trying to create en .apk from the node.js command promt with: ionic build android For some reason I get the: Could not extract native JNI library error. Does anyone know how

Solution 1:

By simply making a new fresh install of JAVA, cleaning the cache and not using the bleeding-edge version of node.js I solved this.


Solution 2:

In my case - just running gradlew from the (windows) commandline - the problem was caused by a setting, probably my HOME or HOMEPATH, with special characters in it (a double exclamation mark).

And the problem was resolved by adding a line to gradlew.bat, just below the 'set CLASSPATH ...' line:

'set GRADLE_USER_HOME=%APP_HOME%gradle\user'

Post a Comment for "Could Not Extract Native JNI Library"