Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging on Device Console Fails #7

Open
GitMAGI opened this issue Aug 20, 2019 · 0 comments
Open

Logging on Device Console Fails #7

GitMAGI opened this issue Aug 20, 2019 · 0 comments

Comments

@GitMAGI
Copy link

GitMAGI commented Aug 20, 2019

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;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant