Skip to content

Logging on Device Console Fails #7

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;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions