cocos2dx 3.10
Eclipse Version: Oxygen Release (4.7.0)
NDK android-ndk-r10d
SDK android-20
我是如下设置:
Application.mk 加了一句 -D_DEBUG=1
ifeq ($(NDK_DEBUG),1) APP_CPPFLAGS += -DCOCOS2D_DEBUG=1 -D_DEBUG=1 APP_OPTIM := debug else
Eclipse 中 1. BuildConfiguration - setActive Debug .
2. Debug as — Andriod Application
发现 _DEBUG 设置的没输出!
#ifdef _DEBUG cocos2d::log ("0000000000000"); //没输出。。 #endif // _DEBUG
请各位指点下,谢谢!