Hi, On Tue, Feb 28, 2017 at 08:51:31AM +0500, Saba Arshad wrote: > Hello Sir, > > I am developing an android security application in my MS Research where I > want to use Strace by an android application programmatically, So I > imported Strace for Android from the source [1] which contains .c files, shown > in the image below, 1.png. > > 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 link [2] and > MainActivity.java is given in the image 2.png. > > Now i want to call the strace from the android application by adding > strace.c native library. 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? please let me know if i am missing something.
Unfortunately, your System.loadLibrary("strace.c") shows that you are obviously missing some basic knowledge about using .c files in java projects, please study this topic first. -- ldv
pgplZkARHgHeL.pgp
Description: PGP signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel