According to the question, i tried to do it as following:
#include <android/log.h>
#define __STDC_FORMAT_MACROS
#include <inttypes.h>
#define TAG "mylog"
#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG, TAG, __VA_ARGS__)
uint64_t value = 9999999999;
LOGD("test print uint64_t: %" PRIu64 "\n", value);
However, i got the errors as following:
error: expected ')' before 'PRIu64'
LOGD("test print uint64_t: %" PRIu64 "\n", value);
How to print the uint64_t in Android?