Ant build with .so files

I am working on a project that contains more than 65 thousand methods, I have completed the Dex65536 process to create a project

In my project, it contains several .so files to encrypt the database in my project. Apply the ant task using this custom rule, I got an error like

Warning:No implementation found for native 
Error: Lcom.......java.lang.UnsatisfiedLinkError: Native method not found:

how can I solve this problem and how to specify .so files in custom_rules.xml file .

please advise me.

Thanks in advance

+4
source share
1 answer

apk .so armeabi, ant.

, , .so, / .

:

  • armeabi armeabi-v7a .so( .so , Android ) - apk, 100% .
  • .so .
  • java-, System.loadLibrary
  • :

Java

int com.sample.NativeBridge.GetInt()

c

JNIEXPORT jint JNICALL Java_com_sample_NativeBridge_GetInt(JNIEnv env , jclass this)

, , , , , C ?

0

All Articles