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
Post a Comment