logging - Android NDK C++ library print log on android studio? -


hi building c++ native library based on android ndk tool. however, couldn't figured out how print log in c++ file android logcat. here have done.

i have follow this guide. add __android_log_print(android_log_info, "log", "hi logg");

include android/log.h

and

android { defaultconfig {     ndk {         modulename "modulename"         ldlibs "log"     } } 

the app able compile there's no log printed. can me?


Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -