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 ???

  • Without an error log, it will be difficult to advise something to you. And offtopic - why do you collect via cygwin? Does religion not allow directly in Windows? - Barmaley
  • Here is the log: cloud.mail.ru/public/BRMt/xuzkXmFxC - mathdroid
  • Put logs in your question, do you really think that someone will climb into this stupid cloud ?! - Barmaley
  • put in the answer - mathdroid

0