Skip to content

Logging on Device Console Fails #7

@GitMAGI

Description

@GitMAGI

Into the function dispatchMessage of the file Logging.cpp there is the following directive

void android_touch::Logging::dispatchMessage(std::string message) {
#ifdef ANDROID
    __android_log_print(ANDROID_LOG_DEBUG, "android_touch", "%s", message.c_str());
#else
    std::cout << "[android_touch] : " << message << std::endl;
#endif
}

This doesen't work on my device. I compiled on the platform android-23 and my abi is armeabi-v7a.

I solved the problem commenting the directive and using just the following:

std::cout << "[android_touch] : " << message << std::endl;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions