How do I run valgrind with an Android app?
I've installed valgrind for android and I can confirm it is working as I tried running ls with it, and it works fine. But how do I execute an android app with a native component I would like to debug? I looked at this question: How to start an android app with valgrind but I have no idea how to follow it. How do you wrap an app in a shell script? What is "wrap." followed by the package name supposed to be? I tried doing this with com.matthewmitchell.wakeifyplus being my application package: setprop wrap.com.matthewmitchell.wakeifyplus "logwrapper /data/local/valgrind" but it says "could not