how to define CC_ENABLE_BOX2D_INTEGRATION on android

my Application is like this

APP_CPPFLAGS := frttiDCC_ENABLE_BOX2D_INTEGRATION=1 DCC_ENABLE_CHIPMUNK_INTEGRATION=0DCOCOS2D_DEBUG=1 std=c++11pthread

it says that CC_ENABLE_CHIPMUNK_INTEGRATION redefined.

when i remove DCC_ENABLE_CHIPMUNK_INTEGRATION, it says
jni/…/…/Classes/GameBodySprite.cpp:69:50: error: ‘getB2Body’ was not declared in this scope

cocos2d version 2.2.1

is there a solution about this?

You can’t enble both Chipmunk support and Box2d support at the same time. Only one can be enabled at compile time.