问题
I am developing an android application where I imported Strace for Android which contains .c files, shown in the image below.
All the .c files are added automatically in the cpp
folder when i gave the path of Android.mk
file. the Android.mk file is given in this link and MainActivity.java
is as follows:
The problem is that when I give the name of starce.c as the native library the application stops unexpectedly. Anyone knows why this is happening?
Thanks in advance
来源:https://stackoverflow.com/questions/42293495/how-to-call-strace-native-library-in-android-application