Print logcat jni android studio

android.ndk {
    moduleName = "hello-jni"    moduleName = "CurrentTime"    ldLibs    = ["android", "log"]
    /*     * Other ndk flags configurable here are     * cppFlags += "-fno-rtti"     * cppFlags += "-fno-exceptions"     * ldLibs    = ["android", "log"]     * stl       = "system"     */}

#include <android/log.h>
__android_log_print(ANDROID_LOG_DEBUG, "TG", "dfdsfsf");


Related

Android 5570934763406636514

Post a Comment

emo-but-icon

Follow Us

Hot in week

Recent

Comments

Side Ads

Text Widget

Connect Us

item