Search code examples
javacordovaionic2java-native-interface

When i have build ionic app at that time given native Library error. given this below


ANDROID_HOME=C:\Users<user>\android-sdks

JAVA_HOME=C:\Program Files\Java\jdk1.8.0_151

FAILURE: Build failed with an exception.

What went wrong: Could not extract native JNI library.

Advance Thanks for Helping.....


Solution

  • PLEASE UNINSTALL JAVA AND CLEAR CACHE AFTER THAT INSTALL AGAIN JAVA THEN YOU CAN BUILD YOUR APPLICATION.