I've been trying to get Native Code coverage following the intructions at http://groups.google.com/group/android-ndk/browse_thread/thread/4a3924bb1235e58a/6ef27ff0b4506d30?show_docid=6ef27ff0b4506d30
So far I have been unable to get any .gcda files. I've been able to successfully build and link my instrumented library, which I'll call "TestedLibrary" (verified that it's much larger in size than the non-instrumented library). To set the GCOV_PREFIX and GCOV_STRIP_PATH, I use a dummy native library that I load prior to loading TestedLibrary. I also added some log calls in TestedLibrary to verify that both of those environment variables are set to the correct values, and I can see they are properly set. My app has permissions to write to the SDCARD, and I've tried different values on GCOV_STRIP_PATH, but nothing seems to work. There are no errors reported either. I've tried both the emulator and my Galaxy SII. Has anybody been able to successfully get gcda files from a native shared library, and if so, can you share the steps you used? Is there any way to get additional logs from gcov? Thanks! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

