I'm trying to create en .apk from the node.js command promt with:<blockquote>
ionic build android</blockquote>
For some reason I get the: Could not extract native JNI library error. Does anyone know how to fix this?
I have the 1.8.0._101 of Java installed and the latest Android Studio.Answer1:
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.Answer2:
In my case - just running gradlew from the (windows) commandline - the problem was caused by a setting, probably my
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: