求助,cocos 3.10 JSB项目 android 运行没有控制台信息,折腾2天了

一开始windows 下也没有 后来翻到源代码将:
#ifdef USE_WIN32_CONSOLE
AllocConsole();
freopen(“CONIN$”, “r”, stdin);
freopen(“CONOUT$”, “w”, stdout);
freopen(“CONOUT$”, “w”, stderr);
#endif

// create the application instance
AppDelegate app;
int ret = Application::getInstance()->run();

#ifdef USE_WIN32_CONSOLE
FreeConsole();
#endif
改成:
AllocConsole();
freopen(“CONIN$”, “r”, stdin);
freopen(“CONOUT$”, “w”, stdout);
freopen(“CONOUT$”, “w”, stderr);

// create the application instance
AppDelegate app;
int ret = Application::getInstance()->run();

FreeConsole();

就可以,估计是USE_WIN32_CONSOLE这个宏的设置有问题。
android在哪里改才能看到控制台信息。

运行机器win10 64位

有人帮我看看么?

你是通过什么打印log信息的?
还有你是通过eclipse还是Android Studio运行程序的?