I found a project that creates a similarity java.math.BigInteger based on GMP .
What I have:
- java 8 update 131
- jdk1.8.0_131
- android-ndk-r7c
- cygwin 2.877
Here is my project in ndk: link
Android.mk:
LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := gmp4j LOCAL_C_INCLUDES := $(LOCAL_PATH)/include/ \ C/Program Files/Java/jdk1.8.0_131/include/ LOCAL_SRC_FILES := us_altio_gmp4j_BigInteger.c include $(BUILD_SHARED_LIBRARY) When building a .so library via cygwin in ndk-build, I constantly get an error. I can not understand what is wrong. Thank you in advance.
And how can this be done without cygwina, directly in windows ???